| 
Rice Pastry API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Uses of Message in rice.pastry | 
| Methods in rice.pastry that return Message | |
 Message | 
ScheduledMessage.getMessage()
Returns the message  | 
| Methods in rice.pastry with parameters of type Message | |
 void | 
NodeHandle.bootstrap(Message msg)
Method which is used by Pastry to start the bootstrapping process on the local node using this handle as the bootstrap handle.  | 
 void | 
PastryNode.receiveMessage(Message msg)
message receiver interface.  | 
abstract  ScheduledMessage | 
PastryNode.scheduleMsg(Message msg,
            long delay)
Schedule the specified message to be sent to the local node after a specified delay.  | 
abstract  ScheduledMessage | 
PastryNode.scheduleMsg(Message msg,
            long delay,
            long period)
Schedule the specified message for repeated fixed-delay delivery to the local node, beginning after the specified delay.  | 
abstract  ScheduledMessage | 
PastryNode.scheduleMsgAtFixedRate(Message msg,
                       long delay,
                       long period)
Schedule the specified message for repeated fixed-rate delivery to the local node, beginning after the specified delay.  | 
| Constructors in rice.pastry with parameters of type Message | |
ExponentialBackoffScheduledMessage(PastryNode node,
                                   Message msg,
                                   Timer timer,
                                   long delay,
                                   long initialPeriod,
                                   double expBase)
 | 
|
ExponentialBackoffScheduledMessage(PastryNode node,
                                   Message msg,
                                   Timer timer,
                                   long initialDelay,
                                   double expBase)
Constructor for ExponentialBackoffScheduledMessage.  | 
|
ScheduledMessage(PastryNode pn,
                 Message msg)
Constructor  | 
|
| Uses of Message in rice.pastry.client | 
| Methods in rice.pastry.client with parameters of type Message | |
 void | 
CommonAPIAppl.route(Id key,
      Message msg,
      NodeHandle hint)
This operation forwards a message towards the root of key.  | 
abstract  void | 
CommonAPIAppl.deliver(Id key,
        Message msg)
Called by pastry when a message arrives for this application.  | 
 void | 
CommonAPIAppl.messageForAppl(Message msg)
DESCRIBE THE METHOD  | 
 void | 
CommonAPIAppl.receiveMessage(Message msg)
Called by pastry to deliver a message to this client.  | 
 void | 
PastryAppl.sendMessage(Message msg)
Sends a message directly to the local pastry node.  | 
 void | 
PastryAppl.receiveMessage(Message msg)
Called by pastry to deliver a message to this client.  | 
 boolean | 
PastryAppl.routeMsgDirect(NodeHandle dest,
               Message msg,
               Credentials cred,
               SendOptions opt)
Sends a message to the Pastry node identified by dest.  | 
 void | 
PastryAppl.routeMsg(Id key,
         Message msg,
         Credentials cred,
         SendOptions opt)
Routes a message to the live node D with nodeId numerically closest to key (at the time of delivery).  | 
abstract  void | 
PastryAppl.messageForAppl(Message msg)
Called by pastry when a message arrives for this application.  | 
 boolean | 
PastryAppl.enrouteMessage(Message msg,
               Id key,
               NodeHandle nextHop,
               SendOptions opt)
Called by pastry when a message is enroute and is passing through this node.  | 
| Uses of Message in rice.pastry.commonapi | 
| Subclasses of Message in rice.pastry.commonapi | |
 class | 
PastryEndpointMessage
This class is an internal message to the commonapi gluecode.  | 
| Methods in rice.pastry.commonapi with parameters of type Message | |
 void | 
PastryEndpoint.messageForAppl(Message msg)
DESCRIBE THE METHOD  | 
 void | 
PastryEndpoint.receiveMessage(Message msg)
Called by pastry to deliver a message to this client.  | 
| Uses of Message in rice.pastry.direct | 
| Methods in rice.pastry.direct with parameters of type Message | |
 void | 
DirectNodeHandle.receiveMessage(Message msg)
DESCRIBE THE METHOD  | 
 ScheduledMessage | 
DirectPastryNode.scheduleMsg(Message msg,
            long delay)
Schedule the specified message to be sent to the local node after a specified delay.  | 
 ScheduledMessage | 
DirectPastryNode.scheduleMsg(Message msg,
            long delay,
            long period)
Schedule the specified message for repeated fixed-delay delivery to the local node, beginning after the specified delay.  | 
 ScheduledMessage | 
DirectPastryNode.scheduleMsgAtFixedRate(Message msg,
                       long delay,
                       long period)
Schedule the specified message for repeated fixed-rate delivery to the local node, beginning after the specified delay.  | 
 boolean | 
DirectSecurityManager.verifyMessage(Message msg)
This method takes a message and returns true if the message is safe and false otherwise.  | 
 void | 
GeometricNetworkSimulator.deliverMessage(Message msg,
               DirectPastryNode node)
DESCRIBE THE METHOD  | 
 ScheduledMessage | 
GeometricNetworkSimulator.deliverMessage(Message msg,
               DirectPastryNode node,
               int delay)
DESCRIBE THE METHOD  | 
 ScheduledMessage | 
GeometricNetworkSimulator.deliverMessage(Message msg,
               DirectPastryNode node,
               int delay,
               int period)
DESCRIBE THE METHOD  | 
 ScheduledMessage | 
GeometricNetworkSimulator.deliverMessageFixedRate(Message msg,
                        DirectPastryNode node,
                        int delay,
                        int period)
DESCRIBE THE METHOD  | 
 ScheduledMessage | 
NetworkSimulator.deliverMessage(Message msg,
               DirectPastryNode node,
               int delay)
Deliver message.  | 
 ScheduledMessage | 
NetworkSimulator.deliverMessage(Message msg,
               DirectPastryNode node,
               int delay,
               int period)
Deliver message.  | 
 ScheduledMessage | 
NetworkSimulator.deliverMessageFixedRate(Message msg,
                        DirectPastryNode node,
                        int delay,
                        int period)
Deliver message.  | 
 void | 
NetworkSimulator.deliverMessage(Message msg,
               DirectPastryNode node)
Deliver message ASAP.  | 
| Uses of Message in rice.pastry.dist | 
| Methods in rice.pastry.dist with parameters of type Message | |
 ScheduledMessage | 
DistPastryNode.scheduleMsg(Message msg,
            long delay)
Schedule the specified message to be sent to the local node after a specified delay.  | 
 ScheduledMessage | 
DistPastryNode.scheduleMsg(Message msg,
            long delay,
            long period)
Schedule the specified message for repeated fixed-delay delivery to the local node, beginning after the specified delay.  | 
 ExponentialBackoffScheduledMessage | 
DistPastryNode.scheduleMsgExpBackoff(Message msg,
                      long delay,
                      long initialPeriod,
                      double expBase)
DESCRIBE THE METHOD  | 
 ScheduledMessage | 
DistPastryNode.scheduleMsgAtFixedRate(Message msg,
                       long delay,
                       long period)
Schedule the specified message for repeated fixed-rate delivery to the local node, beginning after the specified delay.  | 
| Uses of Message in rice.pastry.join | 
| Subclasses of Message in rice.pastry.join | |
 class | 
InitiateJoin
Request for the join protocols on the local node to join the overlay.  | 
 class | 
JoinRequest
Request to join this network.  | 
| Uses of Message in rice.pastry.leafset | 
| Subclasses of Message in rice.pastry.leafset | |
 class | 
BroadcastLeafSet
Broadcast a leaf set to another node.  | 
 class | 
InitiateLeafSetMaintenance
Initiate leaf set maintenance on the local node.  | 
 class | 
RequestLeafSet
Request a leaf set from another node.  | 
| Uses of Message in rice.pastry.messaging | 
| Methods in rice.pastry.messaging with parameters of type Message | |
 MessageReceiver | 
MessageDispatch.getDestination(Message msg)
Gets the Destination attribute of the MessageDispatch object  | 
 boolean | 
MessageDispatch.dispatchMessage(Message msg)
Dispatches a message to the appropriate receiver.  | 
 void | 
MessageReceiver.receiveMessage(Message msg)
Passes a message along to entity which is this message receiver.  | 
| Uses of Message in rice.pastry.routing | 
| Subclasses of Message in rice.pastry.routing | |
 class | 
BroadcastRouteRow
Broadcast message for a row from a routing table.  | 
 class | 
InitiateRouteSetMaintenance
Initiate routing table maintenance on the local node  | 
 class | 
RequestRouteRow
Request a row from the routing table from another node.  | 
 class | 
RouteMessage
A route message contains a pastry message that has been wrapped to be sent to another pastry node.  | 
| Methods in rice.pastry.routing that return Message | |
 Message | 
RouteMessage.unwrap()
The wrapped message.  | 
| Constructors in rice.pastry.routing with parameters of type Message | |
RouteMessage(Id target,
             Message msg,
             Credentials cred)
Constructor.  | 
|
RouteMessage(Id target,
             Message msg,
             Credentials cred,
             SendOptions opts)
Constructor.  | 
|
RouteMessage(NodeHandle dest,
             Message msg,
             Credentials cred,
             SendOptions opts,
             Address aux)
Constructor.  | 
|
RouteMessage(Id target,
             Message msg,
             Credentials cred,
             Address aux)
Constructor.  | 
|
RouteMessage(Id target,
             Message msg,
             Credentials cred,
             SendOptions opts,
             Address aux)
Constructor.  | 
|
RouteMessage(Id target,
             Message msg,
             NodeHandle firstHop,
             Address aux)
Constructor.  | 
|
| Uses of Message in rice.pastry.security | 
| Methods in rice.pastry.security with parameters of type Message | |
 boolean | 
PastrySecurityManager.verifyMessage(Message msg)
This method takes a message and returns true if the message is safe and false otherwise.  | 
 boolean | 
PermissiveSecurityManager.verifyMessage(Message msg)
DESCRIBE THE METHOD  | 
| Uses of Message in rice.pastry.socket | 
| Fields in rice.pastry.socket declared as Message | |
protected  Message | 
SocketCollectionManager.MessageRetry.message
DESCRIBE THE FIELD  | 
| Methods in rice.pastry.socket that return Message | |
protected  Message | 
SocketPastryNodeFactory.getResponse(java.net.InetSocketAddress address,
            Message message)
This method anonymously sends the given message to the remote address, blocks until a response is received, and then closes the socket and returns the response.  | 
| Methods in rice.pastry.socket with parameters of type Message | |
 void | 
SocketCollectionManager.bootstrap(SourceRoute path,
          Message message)
Method which sends bootstraps a node by sending message across the wire, using a fake IP address in the header so that the local node is not marked alive, and then closes the connection.  | 
 void | 
SocketCollectionManager.send(SourceRoute path,
     Message message,
     SocketSourceRouteManager.AddressManager am)
Method which sends a message across the wire.  | 
protected  boolean | 
SocketCollectionManager.sendInternal(SourceRoute path,
             Message message)
Method which sends a message across the wire.  | 
 void | 
SocketNodeHandle.receiveMessage(Message msg)
Called to send a message to the node corresponding to this handle.  | 
 void | 
SocketNodeHandle.bootstrap(Message msg)
Method which is used by Pastry to start the bootstrapping process on the local node using this handle as the bootstrap handle.  | 
protected  Message | 
SocketPastryNodeFactory.getResponse(java.net.InetSocketAddress address,
            Message message)
This method anonymously sends the given message to the remote address, blocks until a response is received, and then closes the socket and returns the response.  | 
protected  CancellableTask | 
SocketPastryNodeFactory.getResponse(java.net.InetSocketAddress address,
            Message message,
            Continuation c)
Gets the Response attribute of the SocketPastryNodeFactory object  | 
 boolean | 
SocketPastrySecurityManager.verifyMessage(Message msg)
This method takes a message and returns true if the message is safe and false otherwise.  | 
 void | 
SocketSourceRouteManager.bootstrap(EpochInetSocketAddress address,
          Message message)
Method which sends a bootstrap message across the wire.  | 
 void | 
SocketSourceRouteManager.send(EpochInetSocketAddress address,
     Message message)
Method which sends a message across the wire.  | 
protected  void | 
SocketSourceRouteManager.reroute(EpochInetSocketAddress address,
        Message m)
Reroutes the given message.  | 
 void | 
SocketSourceRouteManager.AddressManager.send(Message message)
Method which enqueues a message to this address  | 
 void | 
SocketSourceRouteManager.AddressManager.SourceRouteManager.send(Message message)
Method which enqueues a message along this route  | 
| Constructors in rice.pastry.socket with parameters of type Message | |
SocketCollectionManager.MessageRetry(SourceRoute route,
                                     Message message,
                                     SocketSourceRouteManager.AddressManager am)
Constructor, taking a message and the route  | 
|
| Uses of Message in rice.pastry.socket.messaging | 
| Subclasses of Message in rice.pastry.socket.messaging | |
 class | 
DatagramMessage
Class which represents a "ping" message sent through the socket pastry system.  | 
 class | 
IPAddressRequestMessage
Class which represents a request for the external visible IP address  | 
 class | 
IPAddressResponseMessage
Class which represents a request for the external visible IP address  | 
 class | 
LeafSetRequestMessage
Message which represents a request to get the leafset from the remote node.  | 
 class | 
LeafSetResponseMessage
A response message to a LeafSetRequestMessage, containing the remote node's leafset.  | 
 class | 
NodeIdRequestMessage
Message which represents a request to get a node Id from the remote node.  | 
 class | 
NodeIdResponseMessage
A response message to a NodeIdRequestMessage, containing the remote node's nodeId.  | 
 class | 
PingMessage
Class which represents a "ping" message sent through the socket pastry system.  | 
 class | 
PingResponseMessage
Class which represents a "ping" message sent through the socket pastry system.  | 
 class | 
RouteRowRequestMessage
Message which represents a request to get the leafset from the remote node.  | 
 class | 
RouteRowResponseMessage
A response message to a RouteRowRequestMessage, containing the remote node's routerow.  | 
 class | 
RoutesRequestMessage
Message which represents a request to get the leafset from the remote node.  | 
 class | 
RoutesResponseMessage
A response message to a RoutesRequestMessage, containing the remote node's routes.  | 
 class | 
SocketMessage
Class which represents an abstract control message  | 
 class | 
WrongEpochMessage
Class which represents a "ping" message sent through the socket pastry system.  | 
| Uses of Message in rice.pastry.standard | 
| Subclasses of Message in rice.pastry.standard | |
 class | 
ConsistentJoinMsg
 | 
 class | 
InitiatePingNeighbor
Initiate leaf set maintenance on the local node.  | 
| Methods in rice.pastry.standard with parameters of type Message | |
 void | 
ConsistentJoinProtocol.receiveMessage(Message msg)
Handle the CJM as in the MSR-TR  | 
 void | 
PeriodicLeafSetProtocol.receiveMessage(Message msg)
Receives messages.  | 
 void | 
PeriodicLeafSetProtocol.messageForAppl(Message msg)
Should not be called becasue we are overriding the receiveMessage() interface anyway.  | 
 void | 
StandardJoinProtocol.receiveMessage(Message msg)
Receives a message from the outside world.  | 
 void | 
StandardJoinProtocol.messageForAppl(Message msg)
Should not be called becasue we are overriding the receiveMessage() interface anyway.  | 
 void | 
StandardLeafSetProtocol.receiveMessage(Message msg)
Receives messages.  | 
 void | 
StandardRouteSetProtocol.receiveMessage(Message msg)
Receives a message.  | 
 void | 
StandardRouter.receiveMessage(Message msg)
Receive a message from a remote node.  | 
| Uses of Message in rice.pastry.testing | 
| Subclasses of Message in rice.pastry.testing | |
 class | 
HelloMsg
 | 
 class | 
PingMessageNew
PingMessageNew A performance test suite for pastry.  | 
| Fields in rice.pastry.testing declared as Message | |
 Message | 
PastryRegrTest.lastMsg
DESCRIBE THE FIELD  | 
| Methods in rice.pastry.testing with parameters of type Message | |
 void | 
HelloWorldApp.messageForAppl(Message msg)
Invoked on destination node when a message arrives.  | 
 boolean | 
HelloWorldApp.enrouteMessage(Message msg,
               Id key,
               NodeHandle nextHop,
               SendOptions opt)
Invoked on intermediate nodes in routing path.  | 
 void | 
LeafSetTest.TestNodeHandle.receiveMessage(Message m)
DESCRIBE THE METHOD  | 
 void | 
Ping.messageForAppl(Message msg)
DESCRIBE THE METHOD  | 
 boolean | 
Ping.enrouteMessage(Message msg,
               Id from,
               NodeHandle nextHop,
               SendOptions opt)
DESCRIBE THE METHOD  | 
 void | 
PingClient.messageForAppl(Message msg)
DESCRIBE THE METHOD  | 
 boolean | 
PingClient.enrouteMessage(Message msg,
               Id from,
               NodeHandle nextHop,
               SendOptions opt)
DESCRIBE THE METHOD  | 
 void | 
RegrTestApp.deliver(Id key,
        Message msg)
DESCRIBE THE METHOD  | 
  | 
Rice Pastry API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||