|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestListener
An RequestListener object is used to receive remote requests from a a RequestChannel
Method Summary | |
---|---|
Packet |
onRequest(Packet request)
A RequestChannel will call this method when a new request arrives. |
void |
onRquestError(IOException error)
A RequestChannel will call this method when a async failure occurs when receiving a request. |
Method Detail |
---|
Packet onRequest(Packet request)
RequestChannel
will call this method when a new request arrives.
packet
- void onRquestError(IOException error)
RequestChannel
will call this method when a async failure occurs when receiving a request.
error
- the exception that describes the failure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |