|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.selector.TimerTask
org.mpisws.p2p.transport.wire.magicnumber.MagicNumberTransportLayer.VerifyHeaderReceiver
protected class MagicNumberTransportLayer.VerifyHeaderReceiver
Field Summary |
---|
Fields inherited from class rice.selector.TimerTask |
---|
cancelled, fixedRate, nextExecutionTime, period, selector, seq |
Constructor Summary | |
---|---|
MagicNumberTransportLayer.VerifyHeaderReceiver(P2PSocket<Identity> s)
|
Method Summary | |
---|---|
void |
receiveException(P2PSocket<Identity> socket,
java.io.IOException ioe)
Called when there is an error |
void |
receiveSelectResult(P2PSocket<Identity> socket,
boolean canRead,
boolean canWrite)
Called when a socket is available for read/write |
void |
run()
|
Methods inherited from class rice.selector.TimerTask |
---|
cancel, compareTo, execute, isCancelled, scheduledExecutionTime, setSelectorManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MagicNumberTransportLayer.VerifyHeaderReceiver(P2PSocket<Identity> s)
Method Detail |
---|
public void receiveException(P2PSocket<Identity> socket, java.io.IOException ioe)
P2PSocketReceiver
receiveException
in interface P2PSocketReceiver<Identity>
public void receiveSelectResult(P2PSocket<Identity> socket, boolean canRead, boolean canWrite) throws java.io.IOException
P2PSocketReceiver
receiveSelectResult
in interface P2PSocketReceiver<Identity>
java.io.IOException
public void run()
run
in interface CancellableTask
run
in class TimerTask
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |