|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.pastry.transport.AppSocketReceiverWrapper<Identifier>
public class AppSocketReceiverWrapper<Identifier>
Constructor Summary | |
---|---|
AppSocketReceiverWrapper(AppSocketReceiver receiver,
SocketAdapter<Identifier> socket,
Environment env)
|
Method Summary | |
---|---|
void |
receiveException(P2PSocket<Identifier> s,
java.lang.Exception ioe)
Called when there is an error |
void |
receiveSelectResult(P2PSocket<Identifier> s,
boolean canRead,
boolean canWrite)
Called when a socket is available for read/write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AppSocketReceiverWrapper(AppSocketReceiver receiver, SocketAdapter<Identifier> socket, Environment env)
Method Detail |
---|
public void receiveException(P2PSocket<Identifier> s, java.lang.Exception ioe)
P2PSocketReceiver
receiveException
in interface P2PSocketReceiver<Identifier>
public void receiveSelectResult(P2PSocket<Identifier> s, boolean canRead, boolean canWrite) throws java.io.IOException
P2PSocketReceiver
receiveSelectResult
in interface P2PSocketReceiver<Identifier>
java.io.IOException
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |