|
DRCL JavaSim API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--drcl.comp.Contract
|
+--drcl.inet.contract.NeighborEvent
The NeighborEvent contract. This contract defines the object format in a neighbor event (neighbor-up/neighbor-down). The event object is a message consisting of
int), and
NetAddress).
NetAddress| Inner Class Summary | |
static class |
NeighborEvent.Message
|
| Field Summary | |
static NeighborEvent |
INSTANCE
|
| Fields inherited from class drcl.comp.Contract |
Role_INITIATOR, Role_PEER, Role_REACTOR |
| Constructor Summary | |
NeighborEvent()
|
|
NeighborEvent(int role_)
|
|
| Method Summary | |
java.lang.Object |
getContractContent()
Returns the content of this contract (format?). |
java.lang.String |
getName()
|
| Methods inherited from class drcl.comp.Contract |
getRole, match, setRole |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final NeighborEvent INSTANCE
| Constructor Detail |
public NeighborEvent()
public NeighborEvent(int role_)
| Method Detail |
public java.lang.String getName()
getName in class Contractpublic java.lang.Object getContractContent()
ContractgetContractContent in class Contract
|
DRCL JavaSim API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||