rice.pastry.transport
Class TLDeserializer
java.lang.Object
rice.pastry.transport.TLDeserializer
- All Implemented Interfaces:
- RawMessageDeserializer, Deserializer
public class TLDeserializer
- extends java.lang.Object
- implements RawMessageDeserializer, Deserializer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
environment
protected Environment environment
logger
protected Logger logger
TLDeserializer
public TLDeserializer(NodeHandleFactory nodeHandleFactory,
Environment env)
deserialize
public RawMessage deserialize(InputBuffer buf,
NodeHandle sender)
throws java.io.IOException
- Specified by:
deserialize
in interface RawMessageDeserializer
- Throws:
java.io.IOException
serialize
public void serialize(RawMessage m,
OutputBuffer o)
throws java.io.IOException
- Specified by:
serialize
in interface RawMessageDeserializer
- Throws:
java.io.IOException
clearDeserializer
public void clearDeserializer(int address)
- Specified by:
clearDeserializer
in interface Deserializer
getDeserializer
public MessageDeserializer getDeserializer(int address)
- Specified by:
getDeserializer
in interface Deserializer
setDeserializer
public void setDeserializer(int address,
MessageDeserializer md)
- Specified by:
setDeserializer
in interface Deserializer
Copyright © 2001-2005 - Rice Pastry.