Package com.sun.grizzly.filter

Interface Summary
BytesTrafficListener This could be used by Progressbars to show an indication that bytes go over the wire
Client Client API for communicating with aServer.
IOExceptionHandler  
Message Various Contstants defining the Custom protocol.
Server Server API for communicating with Client.
 

Class Summary
ClosedMessage  
CustomProtocolClient Out of the box TCP/TLS Client for using CustomProtocol Comunictaion Layer.
CustomProtocolHelper Varoius small ByteBuffer helpers for logging and ByteBuffer handling.
CustomProtocolParser Filter for parsing Messages of the CustomProtocol.
CustomProtocolServer Out of the box TCP (TLS optional) Server for using CustomProtocol Comunictaion Layer.
FragmentMessage Since the Custom Protocol is a fixed sized Protocol when the size of an Message is larger than Message.MessageMaxLength 8192 an Message gets split into Fragments.
InputStreamMessage Gives an Message an RemoteInputStream so that clients can retrieve the Message Payload by getting this Message InputStream.
MessageBase Note idea taken from com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase Knows how to construct various CustomProtocol Messages out of an ByteBuffer.
MessageDispatcher Filter which dispatches parsed fully constructed Messages.
MessageError Used to signal Errors which happen in the Protocol Layer.
ProtocolOutputStream A Stream which wraps bytes into an Custom Protocol.
ProxyCallbackHandler  
RemoteCall  
RemoteInputStream Stream that blocks on empty RemoteInputStream.read() until RemoteInputStream.close() is called.
ReplyMessage Used to Reply to a RequestMessage A Endpoint which sends an Request to an opposite Endpoint waits on an InpuStream which gets filled with the payload of this InputStream
ReplyMessageFactory When a client expects an reply it calls ReplyMessageFactory.createReplyMessage(java.lang.Integer) and gets a ReplyMessage on which sometime in the future an reply will arrive.
RequestMessage Used to send an Request to an Endpoint.
SSLPreProcessor  
 

Enum Summary
Message.ErrorCode  
 

Exception Summary
MessageParseException If something went wrong during parsing like a Bad Magic or bad Message Format usually a <@link MessageParseException> is thrown.
 



Copyright © 2011 Oracle Corporation. All Rights Reserved.