solar.service.transport
Class PastryObjectTransport
java.lang.Object
|
+--rice.pastry.client.PastryAppl
|
+--rice.pastry.client.CommonAPIAppl
|
+--solar.service.transport.PastryTransport
|
+--solar.service.transport.PastryObjectTransport
- All Implemented Interfaces:
- rice.pastry.messaging.MessageReceiver, Transport
- public class PastryObjectTransport
- extends PastryTransport
A Pastry transport layer using object serialization.
- Version:
- $Id: PastryObjectTransport.java,v 1.3 2003/10/05 18:51:03 glchen Exp $
- Author:
- Guanling chen
Nested classes inherited from class solar.service.transport.PastryTransport |
|
Fields inherited from class rice.pastry.client.PastryAppl |
address, instance, thePastryNode |
Method Summary |
void |
deliver(rice.pastry.Id key,
rice.pastry.messaging.Message msg)
|
void |
send(Adu adu,
Address dest)
Send the adu over transport to destination. |
void |
send(Adu adu,
Address dest,
Id multiplex)
Send the adu over transport to destination, with a multipex ID. |
void |
send(byte[] data,
Address dest)
Send an data unit to destination address. |
void |
send(byte[] data,
Address dest,
Id multiplex)
Send an data unit to destination address with a multiplexer. |
Methods inherited from class rice.pastry.client.CommonAPIAppl |
forward, leafSetChange, localLookup, messageForAppl, neighborSet, notifyReady, range, range, receiveMessage, replicaSet, route, update |
Methods inherited from class rice.pastry.client.PastryAppl |
enrouteMessage, getLeafSet, getNodeHandle, getNodeId, getRoutingTable, isClosest, registerReceiver, routeMsg, routeMsgDirect, routeSetChange, sendMessage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PastryObjectTransport
public PastryObjectTransport(rice.pastry.PastryNode pn)
send
public void send(byte[] data,
Address dest)
throws TransportException
- Description copied from interface:
Transport
- Send an data unit to destination address.
- Specified by:
send
in interface Transport
- Overrides:
send
in class PastryTransport
TransportException
send
public void send(byte[] data,
Address dest,
Id multiplex)
throws TransportException
- Description copied from interface:
Transport
- Send an data unit to destination address with a multiplexer.
- Specified by:
send
in interface Transport
- Overrides:
send
in class PastryTransport
TransportException
send
public void send(Adu adu,
Address dest)
throws TransportException
- Description copied from interface:
Transport
- Send the adu over transport to destination.
- Specified by:
send
in interface Transport
- Overrides:
send
in class PastryTransport
TransportException
send
public void send(Adu adu,
Address dest,
Id multiplex)
throws TransportException
- Description copied from interface:
Transport
- Send the adu over transport to destination, with a multipex ID.
- Specified by:
send
in interface Transport
- Overrides:
send
in class PastryTransport
TransportException
deliver
public void deliver(rice.pastry.Id key,
rice.pastry.messaging.Message msg)
- Overrides:
deliver
in class PastryTransport