Class UdpMessage

  • All Implemented Interfaces:

    
    public class UdpMessage
    
                        

    Raw UDP message packed as a byte array plus a length attribute and receiver information.

    • Constructor Detail

      • UdpMessage

        UdpMessage(Array<byte> data, int length, CommunicationContext communicationContext)
        Constructor with transport information.
        Parameters:
        data - the payload of the UDP message.
        length - the actual message length.
        communicationContext - message transport and application information.
      • UdpMessage

        UdpMessage(Array<byte> data, int length)
        Constructor without transport information.
        Parameters:
        data - the payload of the UDP message.
        length - the actual message length.