|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rice.pastry.wire.messaging.socket.SocketMessage | +--rice.pastry.wire.messaging.socket.SocketTransportMessage
Class which represents a wrapper message sent across the socket-based protocol - it has another message inside of it.
Constructor Summary | |
SocketTransportMessage(java.lang.Object o,
rice.pastry.NodeId destination)
Constructs a new message wrapping another object. |
Method Summary | |
rice.pastry.NodeId |
getDestination()
Returns the destination node id |
java.lang.Object |
getObject()
Returns the wrapped message |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SocketTransportMessage(java.lang.Object o, rice.pastry.NodeId destination)
o
- The object to be wrapped.Method Detail |
public java.lang.Object getObject()
public rice.pastry.NodeId getDestination()
public java.lang.String toString()
toString
in class java.lang.Object
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |