|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.comp.Message
drcl.inet.mac.ARPContract.Message
A Message class defined for carrying information between ARP components and LL components.
| Constructor Summary | |
ARPContract.Message()
Constructor. |
|
ARPContract.Message(int opCode_,
long dst_,
java.lang.Object data_)
Constructor. |
|
ARPContract.Message(int opCode_,
java.lang.Object data_)
Constructor. |
|
| Method Summary | |
java.lang.Object |
clone()
Clones itself. |
Contract |
getContract()
Gets an instance of ARPContract class, which is a static field defined in ARPContract class. |
java.lang.String |
toString(java.lang.String separator_)
Converts the message content to a String object. |
| Methods inherited from class drcl.comp.Message |
toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ARPContract.Message()
public ARPContract.Message(int opCode_,
java.lang.Object data_)
opCode_ - operation code.data_ - the packet being exchanged between ARP and LL.
public ARPContract.Message(int opCode_,
long dst_,
java.lang.Object data_)
opCode_ - operation code.dst_ - the destination IP address whose MAC address to be resolved.data_ - the packet being exchanged between ARP and LL.| Method Detail |
public java.lang.Object clone()
clone in interface ObjectCloneableclone in class Messagepublic Contract getContract()
getContract in class Messagepublic java.lang.String toString(java.lang.String separator_)
toString in class Message
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||