|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.util.Observable
|
+--rice.pastry.NodeHandle
|
+--rice.pastry.dist.DistNodeHandle
|
+--rice.pastry.wire.WireNodeHandle
|
+--rice.pastry.wire.UdpNodeHandle
Node handle that use UDP to transmit messages.
| Field Summary |
| Fields inherited from class rice.pastry.wire.WireNodeHandle |
key, MAX_UDP_MESSAGE_SIZE, PING_THROTTLE, reader, SOCKET_BUFFER_SIZE, state, STATE_USING_TCP, STATE_USING_UDP, STATE_USING_UDP_WAITING_FOR_TCP_DISCONNECT, STATE_USING_UDP_WAITING_TO_DISCONNECT, writer |
| Fields inherited from class rice.pastry.dist.DistNodeHandle |
address, alive, isInPool, isLocal, nodeId |
| Fields inherited from class rice.pastry.NodeHandle |
DECLARED_DEAD, DECLARED_LIVE, PROXIMITY_CHANGED |
| Fields inherited from class java.util.Observable |
|
| Fields inherited from interface rice.pastry.LocalNodeI |
pending |
| Constructor Summary | |
UdpNodeHandle(java.net.InetSocketAddress address,
rice.pastry.NodeId nid)
|
|
| Method Summary | |
void |
receiveMessageImpl(rice.pastry.messaging.Message msg)
Called to send a message to the node corresponding to this handle. |
| Methods inherited from class rice.pastry.wire.WireNodeHandle |
accept, connect, connectToRemoteNode, disconnect, getState, messageSize, pingImpl, pingResponse, pingStarted, read, receiveSocketMessage, sendGreetingResponse, setKey, toStringImpl, wakeup, write |
| Methods inherited from class rice.pastry.dist.DistNodeHandle |
addObserver, afterSetLocalNode, clearChanged, countObservers, debug, deleteObserver, deleteObservers, equals, getAddress, getIsInPool, getNodeId, hasChanged, hashCode, isAlive, markAlive, markDead, notifyObservers, notifyObservers, ping, proximity, receiveMessage, setChanged, setIsInPool, setProximity, toString, update |
| Methods inherited from class rice.pastry.NodeHandle |
assertLocalNode, getId, getLocalNode, setLocalNode |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UdpNodeHandle(java.net.InetSocketAddress address,
rice.pastry.NodeId nid)
| Method Detail |
public void receiveMessageImpl(rice.pastry.messaging.Message msg)
receiveMessageImpl in class WireNodeHandlemsg - Message to be delivered, may or may not be routeMessage.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||