|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.inet.protocol.cbt.CBTState
| Field Summary | |
long |
core
|
long |
group
|
CBTInterface[] |
ifs
|
int |
ntries
|
int |
state
|
int |
upstreamIf
|
| Constructor Summary | |
CBTState()
|
|
CBTState(long group_,
long core_)
|
|
| Method Summary | |
CBTInterface |
addIf(int if_,
boolean upstream_,
boolean broadcast_,
boolean hostIf_,
boolean routerIf_,
java.lang.Object extension_)
Adds an interface. |
boolean |
anyDownstreamIf()
Returns true if the state includes at least one down stream interface. |
CBTInterface |
getIf(int if_)
Retrieves an interface. |
CBTInterface |
getUpstreamIf()
Retrieves the "upstream" interface. |
boolean |
isDownstreamIf(int if_)
Returns true if the interface exists and is a downstream. |
boolean |
isUptreamIf(int if_)
Returns true if the interface exists and is the upstream. |
void |
removeAllIfs()
|
void |
removeIf(int if_)
Removes an interface. |
void |
reset()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int state
public long group
public long core
public CBTInterface[] ifs
public int upstreamIf
public int ntries
| Constructor Detail |
public CBTState()
public CBTState(long group_,
long core_)
| Method Detail |
public void reset()
public void removeAllIfs()
public CBTInterface addIf(int if_,
boolean upstream_,
boolean broadcast_,
boolean hostIf_,
boolean routerIf_,
java.lang.Object extension_)
public void removeIf(int if_)
public CBTInterface getIf(int if_)
public CBTInterface getUpstreamIf()
public boolean anyDownstreamIf()
public boolean isDownstreamIf(int if_)
public boolean isUptreamIf(int if_)
public java.lang.String toString()
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||