rice.pastry.transport
Class AppSocketReceiverWrapper<Identifier>
java.lang.Object
rice.pastry.transport.AppSocketReceiverWrapper<Identifier>
- All Implemented Interfaces:
- P2PSocketReceiver<Identifier>
public class AppSocketReceiverWrapper<Identifier>
- extends Object
- implements P2PSocketReceiver<Identifier>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppSocketReceiverWrapper
public AppSocketReceiverWrapper(AppSocketReceiver receiver,
SocketAdapter<Identifier> socket,
Environment env)
receiveException
public void receiveException(P2PSocket<Identifier> s,
Exception ioe)
- Description copied from interface:
P2PSocketReceiver
- Called when there is an error
- Specified by:
receiveException in interface P2PSocketReceiver<Identifier>
receiveSelectResult
public void receiveSelectResult(P2PSocket<Identifier> s,
boolean canRead,
boolean canWrite)
throws IOException
- Description copied from interface:
P2PSocketReceiver
- Called when a socket is available for read/write
- Specified by:
receiveSelectResult in interface P2PSocketReceiver<Identifier>
- Throws:
IOException
Copyright © 2010. All Rights Reserved.