All Known Subinterfaces:
CancelRequestMessage, FragmentMessage, LocateReplyMessage, LocateReplyOrReplyMessage, LocateRequestMessage, ReplyMessage, RequestMessage
All Known Implementing Classes:
CancelRequestMessage_1_0, CancelRequestMessage_1_1, CancelRequestMessage_1_2, FragmentMessage_1_1, FragmentMessage_1_2, LocateReplyMessage_1_0, LocateReplyMessage_1_1, LocateReplyMessage_1_2, LocateRequestMessage_1_0, LocateRequestMessage_1_1, LocateRequestMessage_1_2, Message_1_0, Message_1_1, Message_1_2, MessageBase, ReplyMessage_1_0, ReplyMessage_1_1, ReplyMessage_1_2, RequestMessage_1_0, RequestMessage_1_1, RequestMessage_1_2

public interface Message
This is the base interface for different message type interfaces.
Version:
1.0
  • Field Details

  • Method Details

    • supportsFragments

      boolean supportsFragments()
      Returns whether the Message supports message fragmenting.
      Returns:
      true if Message supports fragmenting or is a message fragment. Otherwise false it does not support message fragments.
    • getGIOPVersion

      GIOPVersion getGIOPVersion()
    • getEncodingVersion

      byte getEncodingVersion()
    • isLittleEndian

      boolean isLittleEndian()
    • moreFragmentsToFollow

      boolean moreFragmentsToFollow()
    • getType

      int getType()
    • getSize

      int getSize()
    • getThreadPoolToUse

      int getThreadPoolToUse()
    • read

      void read(InputStream istream)
    • write

      void write(OutputStream ostream)
    • setSize

      void setSize(ByteBuffer byteBuffer, int size)
    • createFragmentMessage

      FragmentMessage createFragmentMessage()
    • callback

      void callback(MessageHandler handler) throws IOException
      Throws:
      IOException
    • setEncodingVersion

      void setEncodingVersion(byte version)
    • getCorbaRequestId

      RequestId getCorbaRequestId()
      Return a Message's CorbaRequestId. Messages which do not support a request id in the 4 bytes following the 12 byte GIOP message header shall return an undefined CorbaRequestId.
      Returns:
      a Message's CorbaRequestId.