com.sun.grizzly.filter
Interface Message
- All Known Implementing Classes:
- ClosedMessage, FragmentMessage, InputStreamMessage, MessageBase, MessageError, ReplyMessage, RequestMessage
public interface Message
Various Contstants defining the Custom protocol.
The Custom protocol is a fixed size Protocol meaning that no
message (or one could say packet) can be larger than 8192 bytes.
- Version:
- 1.0
- Author:
- John Vieten 22.06.2008
HeaderLength
static final int HeaderLength
- See Also:
- Constant Field Values
Magic
static final int Magic
- See Also:
- Constant Field Values
MagicByteLength
static final int MagicByteLength
- See Also:
- Constant Field Values
MessageMaxLength
static final int MessageMaxLength
- See Also:
- Constant Field Values
CurrentVersion
static final byte CurrentVersion
- See Also:
- Constant Field Values
Message_Request
static final byte Message_Request
- See Also:
- Constant Field Values
Message_Reply
static final byte Message_Reply
- See Also:
- Constant Field Values
Message_Fragment
static final byte Message_Fragment
- See Also:
- Constant Field Values
Message_Error
static final byte Message_Error
- See Also:
- Constant Field Values
MORE_FRAGMENTS_BIT
static final byte MORE_FRAGMENTS_BIT
- See Also:
- Constant Field Values
GZIP_BIT
static final byte GZIP_BIT
- See Also:
- Constant Field Values
APPLICATION_LAYER_ERROR_BIT
static final byte APPLICATION_LAYER_ERROR_BIT
- See Also:
- Constant Field Values
getRequestId
int getRequestId()
getMessageType
byte getMessageType()
moreFragmentsToFollow
boolean moreFragmentsToFollow()
Copyright © 2012 Oracle Corporation. All Rights Reserved.