|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is implemented by classes for the server portion of an interactive protocol.
InterProtocolClient
Method Summary | |
boolean |
completed()
Returns true iff this end of the protocol is completed. |
byte[] |
message(byte[] received)
Get the next message in the protocol. |
Method Detail |
public boolean completed()
public byte[] message(byte[] received) throws ProtocolException
received
is the last message received form the client
and has not yet been sent to the client.
The returned value is the next message to send to the client or null if no more messages need to be sent and the protocol is terminated.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |