Class Message


  • public class Message
    extends java.lang.Object
    ENTERPRISE EDITION API

    A message sent between message endpoint connections.

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Message fromData​(byte[] data)
      Creates a message object from data.
      byte[] toData()
      Gets the message as data.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • fromData

        @NonNull
        public static Message fromData​(@NonNull
                                       byte[] data)
        Creates a message object from data.
        Parameters:
        data - the data
        Returns:
        the Message object
      • toData

        @NonNull
        public byte[] toData()
        Gets the message as data.

        Returns:
        the data