|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectlanSimulation.internals.Packet
A Packet represents a unit of information to be sent over the Local Area Network (LAN).
| Field Summary | |
java.lang.String |
destination_
Holds the name of the Node which should receive the information. |
java.lang.String |
message_
Holds the actual message to be send over the network. |
java.lang.String |
origin_
Holds the name of the Node which initiated the request. |
| Constructor Summary | |
Packet(java.lang.String message,
java.lang.String destination)
Construct a Packet with given #message and #destination. |
|
Packet(java.lang.String message,
java.lang.String origin,
java.lang.String destination)
Construct a Packet with given #message, #origin and #receiver. |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String message_
public java.lang.String origin_
public java.lang.String destination_
| Constructor Detail |
public Packet(java.lang.String message,
java.lang.String destination)
public Packet(java.lang.String message,
java.lang.String origin,
java.lang.String destination)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||