Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mpisws.p2p.transport
Interface P2PSocketReceiver<Identifier>

All Known Implementing Classes:
  AppSocketReceiverWrapper, EncryptedSocket, MagicNumberTransportLayer.VerifyHeaderReceiver, RecordSocket, SocketAdapter, SocketWrapperSocket, SourceRouteManagerP2PSocket

    public interface P2PSocketReceiver<Identifier>

Method Summary
`void` | `receiveException(P2PSocket<Identifier> socket, java.lang.Exception ioe)` Called when there is an error
`void` | `receiveSelectResult(P2PSocket<Identifier> socket, boolean canRead, boolean canWrite)` Called when a socket is available for read/write

Method Detail

### receiveSelectResult

    void receiveSelectResult(P2PSocket<Identifier> socket,
                             boolean canRead,
                             boolean canWrite)
                             throws java.io.IOException

  Called when a socket is available for read/write

  Throws:
    `java.io.IOException`

### receiveException

    void receiveException(P2PSocket<Identifier> socket,
                          java.lang.Exception ioe)

  Called when there is an error

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.