Rice Pastry API

Uses of Class
rice.pastry.messaging.Message

Packages that use Message
rice.pastry   
rice.pastry.client   
rice.pastry.commonapi   
rice.pastry.direct   
rice.pastry.dist   
rice.pastry.join   
rice.pastry.leafset   
rice.pastry.messaging   
rice.pastry.routing   
rice.pastry.socket   
rice.pastry.socket.messaging   
rice.pastry.standard   
rice.pastry.testing   
 

Uses of Message in rice.pastry
 

Fields in rice.pastry declared as Message
protected  Message ScheduledMessage.msg
          DESCRIBE THE FIELD
 

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.
abstract  void NodeHandle.receiveMessage(Message msg)
          DESCRIBE THE METHOD
 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.
abstract  void PastryNode.send(NodeHandle handle, Message message)
          DESCRIBE THE METHOD
 

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.receiveMessage(Message msg)
          Called by pastry to deliver a message to this client.
 boolean PastryAppl.routeMsgDirect(NodeHandle dest, Message msg, SendOptions opt)
          Sends a message to the Pastry node identified by dest.
 void PastryAppl.routeMsg(Id key, Message msg, 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
 ScheduledMessage BasicNetworkSimulator.deliverMessage(Message msg, DirectPastryNode node)
          DESCRIBE THE METHOD
 ScheduledMessage BasicNetworkSimulator.deliverMessage(Message msg, DirectPastryNode node, int delay)
          DESCRIBE THE METHOD
 ScheduledMessage BasicNetworkSimulator.deliverMessage(Message msg, DirectPastryNode node, int delay, int period)
          DESCRIBE THE METHOD
 ScheduledMessage BasicNetworkSimulator.deliverMessageFixedRate(Message msg, DirectPastryNode node, int delay, int period)
          DESCRIBE THE METHOD
 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.
 void DirectPastryNode.receiveMessage(Message msg)
          DESCRIBE THE METHOD
 void DirectPastryNode.send(NodeHandle handle, Message message)
          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.
 ScheduledMessage 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
 

Subclasses of Message in rice.pastry.messaging
 class PJavaSerializedMessage
          Wrapper that converts rice.pastry.messaging.Message to rice.pastry.messageing.PRawMessage
 class PRawMessage
          Adapts Message to a RawMessage Adds the "sender" to the RawMessage
 

Methods in rice.pastry.messaging that return Message
abstract  Message PJavaSerializedDeserializer.deserialize(InputBuffer buf, short type, byte priority, NodeHandle sender)
          DESCRIBE THE METHOD
 Message PJavaSerializedMessage.getMessage()
          Gets the Message attribute of the PJavaSerializedMessage object
 Message RawMessageDelivery.deserialize(MessageDeserializer md)
          DESCRIBE THE METHOD
 

Methods in rice.pastry.messaging with parameters of type Message
 PastryAppl MessageDispatch.getDestination(Message msg)
          Gets the Destination attribute of the MessageDispatch object
 boolean MessageDispatch.dispatchMessage(Message msg)
          Dispatches a message to the appropriate receiver.
 

Constructors in rice.pastry.messaging with parameters of type Message
PJavaSerializedMessage(Message msg)
          Constructor for PJavaSerializedMessage.
 

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()
          Deprecated. use unwrap(MessageDeserializer)
 Message RouteMessage.unwrap(MessageDeserializer md)
          DESCRIBE THE METHOD
 

Constructors in rice.pastry.routing with parameters of type Message
RouteMessage(Id target, Message msg)
          Constructor.
RouteMessage(Id target, Message msg, SendOptions opts)
          Constructor.
RouteMessage(NodeHandle dest, Message msg, SendOptions opts)
          Constructor.
RouteMessage(Id target, Message msg, NodeHandle firstHop)
          Constructor.
RouteMessage(Id target, Message msg, NodeHandle firstHop, SendOptions opts)
          Constructor.
 

Uses of Message in rice.pastry.socket
 

Subclasses of Message in rice.pastry.socket
 class SourceRoute
          Class which represets a source route to a remote IP address.
 

Methods in rice.pastry.socket that return Message
 Message SocketBuffer.deserialize(MessageDeserializer md)
          DESCRIBE THE METHOD
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
 boolean SocketChannelWriter.enqueue(Message msg)
          DESCRIBE THE METHOD
 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 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.
 void SocketPastryNode.send(NodeHandle handle, Message message)
          DESCRIBE THE METHOD
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
 void SocketSourceRouteManager.bootstrap(EpochInetSocketAddress address, Message msg)
          Method which sends a bootstrap message across the wire.
 void SocketSourceRouteManager.send(EpochInetSocketAddress address, Message msg)
          DESCRIBE THE METHOD
 

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 that return Message
 Message PeriodicLeafSetProtocol.PLSPMessageDeserializer.deserialize(InputBuffer buf, short type, byte priority, NodeHandle sender)
          DESCRIBE THE METHOD
 

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.messageForAppl(Message msg)
          Receives messages.
 void StandardRouteSetProtocol.messageForAppl(Message msg)
          Receives a message.
 void StandardRouter.receiveMessage(Message msg)
          Receive a message from a remote node.
 void StandardRouter.messageForAppl(Message msg)
          DESCRIBE THE METHOD
 

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

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection