|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Server.Message.MessageMaxLength
8192 an Message gets split into Fragments.getNextMessage() is called parser first has to check if
anouther incomplete MessageBase is in the current ByteBuffer.
ByteBuffer
getNextMessage
Basic algorithm :
1.
RemoteInputStream so that clients can retrieve the Message Payload
by getting this Message InputStream.Logger used Customprotocol.
RemoteInputStream.close() is called.
RemoteInputStream.close() is called
RemoteInputStream.read() until RemoteInputStream.close()
is called.ReplyMessageFactory.createReplyMessage(java.lang.Integer)
and gets a ReplyMessage on which sometime in the future
an reply will arrive.Client.CustomProtocolClient.service(java.io.InputStream, java.io.OutputStream)
to process bytes that are send from an Server.
Client calls this server.
ByteBuffer.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||