DRCL J-Sim API

drcl.inet.protocol.cbt
Class CBTInterface

java.lang.Object
  extended bydrcl.inet.protocol.cbt.CBTInterface

public class CBTInterface
extends java.lang.Object

Holds the CBT-related information regarding a network interface for a specific CBT state.

See Also:
CBTState

Field Summary
 double expireTime
          Time when this interface expires (not refreshed by echo messages).
 java.lang.Object extension
           
 boolean isBroadcast
          True if the interface is a broadcast LAN.
 boolean isHostIf
          True if the interface is connected to at least an end host member and implies that the interface is not an upstream interface (downstream).
 boolean isRouterIf
          True if the interface is connected to at least a router.
 boolean isUpstream
          True if the interface leads to the upstream router and implies that the interface is also a router interface but not a host interface.
 
Constructor Summary
CBTInterface(boolean upstream_, boolean broadcast_, boolean hostIf_, boolean routerIf_, java.lang.Object extension_)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isUpstream

public boolean isUpstream
True if the interface leads to the upstream router and implies that the interface is also a router interface but not a host interface.


isBroadcast

public boolean isBroadcast
True if the interface is a broadcast LAN. (not used)


isHostIf

public boolean isHostIf
True if the interface is connected to at least an end host member and implies that the interface is not an upstream interface (downstream).


isRouterIf

public boolean isRouterIf
True if the interface is connected to at least a router.


expireTime

public double expireTime
Time when this interface expires (not refreshed by echo messages).


extension

public java.lang.Object extension
Constructor Detail

CBTInterface

public CBTInterface(boolean upstream_,
                    boolean broadcast_,
                    boolean hostIf_,
                    boolean routerIf_,
                    java.lang.Object extension_)
Method Detail

toString

public java.lang.String toString()

DRCL J-Sim API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~