|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AppSocketReceiver
Interface to receive an application level socket. This allows individual applications to do their own bandwidth/flow control.
Method Summary | |
---|---|
void |
receiveException(AppSocket socket,
java.lang.Exception e)
Called when there is an error |
void |
receiveSelectResult(AppSocket socket,
boolean canRead,
boolean canWrite)
Called when a socket is available for read/write |
void |
receiveSocket(AppSocket socket)
Called when we have a new socket (due to a call to connect or accept) |
Method Detail |
---|
void receiveSocket(AppSocket socket)
socket
- DESCRIBE THE PARAMETERvoid receiveSelectResult(AppSocket socket, boolean canRead, boolean canWrite)
socket
- DESCRIBE THE PARAMETERcanRead
- DESCRIBE THE PARAMETERcanWrite
- DESCRIBE THE PARAMETERvoid receiveException(AppSocket socket, java.lang.Exception e)
socket
- DESCRIBE THE PARAMETERe
- DESCRIBE THE PARAMETER
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |