Class UDPPacket

java.lang.Object
uk.ac.manchester.spinnaker.connections.UDPPacket

public class UDPPacket extends Object
A packet with an address.
  • Method Details

    • getByteBuffer

      public ByteBuffer getByteBuffer()
      Get the buffer with the content of the packet.
      Returns:
      The buffer
    • getAddress

      public InetSocketAddress getAddress()
      Get the address.
      Returns:
      The address