drcl.inet.contract
Class NeighborEvent
java.lang.Object
drcl.comp.Contract
drcl.inet.contract.NeighborEvent
- public class NeighborEvent
- extends Contract
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
- the index of the interface where this event occurs (
int), and
- the neighbor information (
NetAddress).
- Version:
- 1.0, 10/17/2000
- Author:
- Hung-ying Tyan
- See Also:
NetAddress
|
Method Summary |
java.lang.Object |
getContractContent()
Returns the content of this contract (format?). |
java.lang.String |
getName()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final NeighborEvent INSTANCE
NeighborEvent
public NeighborEvent()
NeighborEvent
public NeighborEvent(int role_)
getName
public java.lang.String getName()
- Specified by:
getName in class Contract
getContractContent
public java.lang.Object getContractContent()
- Description copied from class:
Contract
- Returns the content of this contract (format?).
- Specified by:
getContractContent in class Contract
Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved. ~ To J-Sim Home ~