public interface Message
| Modifier and Type | Field and Description |
|---|---|
static int |
defaultBufferSize |
static byte |
FLAG_NO_FRAG_BIG_ENDIAN |
static int |
GIOPBigMagic |
static byte |
GIOPCancelRequest |
static byte |
GIOPCloseConnection |
static byte |
GIOPFragment |
static byte |
GIOPLocateReply |
static byte |
GIOPLocateRequest |
static byte |
GIOPMessageError |
static int |
GIOPMessageHeaderLength |
static byte |
GIOPReply |
static byte |
GIOPRequest |
static byte |
LITTLE_ENDIAN_BIT |
static byte |
MORE_FRAGMENTS_BIT |
static byte |
THREAD_POOL_TO_USE_MASK |
static byte |
TRAILING_TWO_BIT_BYTE_MASK |
| Modifier and Type | Method and Description |
|---|---|
void |
callback(MessageHandler handler) |
FragmentMessage |
createFragmentMessage() |
RequestId |
getCorbaRequestId()
Return a Message's CorbaRequestId.
|
byte |
getEncodingVersion() |
GIOPVersion |
getGIOPVersion() |
int |
getSize() |
int |
getThreadPoolToUse() |
int |
getType() |
boolean |
isLittleEndian() |
boolean |
moreFragmentsToFollow() |
void |
read(InputStream istream) |
void |
setEncodingVersion(byte version) |
void |
setSize(ByteBuffer byteBuffer,
int size) |
boolean |
supportsFragments()
Returns whether the Message supports message fragmenting.
|
void |
write(OutputStream ostream) |
static final int defaultBufferSize
static final int GIOPBigMagic
static final int GIOPMessageHeaderLength
static final byte LITTLE_ENDIAN_BIT
static final byte MORE_FRAGMENTS_BIT
static final byte FLAG_NO_FRAG_BIG_ENDIAN
static final byte TRAILING_TWO_BIT_BYTE_MASK
static final byte THREAD_POOL_TO_USE_MASK
static final byte GIOPRequest
static final byte GIOPReply
static final byte GIOPCancelRequest
static final byte GIOPLocateRequest
static final byte GIOPLocateReply
static final byte GIOPCloseConnection
static final byte GIOPMessageError
static final byte GIOPFragment
boolean supportsFragments()
true if Message supports fragmenting or is
a message fragment. Otherwise false it does
not support message fragments.GIOPVersion getGIOPVersion()
byte getEncodingVersion()
boolean isLittleEndian()
boolean moreFragmentsToFollow()
int getType()
int getSize()
int getThreadPoolToUse()
void read(InputStream istream)
void write(OutputStream ostream)
void setSize(ByteBuffer byteBuffer, int size)
FragmentMessage createFragmentMessage()
void callback(MessageHandler handler) throws IOException
IOExceptionvoid setEncodingVersion(byte version)
RequestId getCorbaRequestId()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.