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.
EchoAsyncWriteQueueFilter Simple echo filter
EchoFilter Simple echo filter
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.
LogFilter Simple filter that log that output the bytes read.
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.
ParserProtocolFilter Simple ProtocolFilter implementation which read the available bytes and delegate the decision of reading more bytes or not to a ProtocolParser.
ProtocolOutputStream A Stream which wraps bytes into an Custom Protocol.
ProxyCallbackHandler  
ReadFilter Simple ProtocolFilter implementation which read the available bytes and delegate the processing to the next ProtocolFilter in the ProtocolChain.
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.
SSLEchoAsyncWriteQueueFilter SSL echo filter, which uses AsyncQueueWriter
SSLEchoFilter Simple echo filter
SSLPreProcessor  
SSLReadFilter Simple ProtocolFilter implementation which execute an SSL handshake and decrypt the bytes, the pass the control to the next filter.
UDPReadFilter Deprecated. The ReadFilter can be used for both TCP and UDP.
UDPWriteFilter Simple ProtocolFilter implementation which write the available bytes and delegate the processing to the next ProtocolFilter in the ProtocolChain.
 

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 © 2012 Oracle Corporation. All Rights Reserved.