Class UDPPacket
java.lang.Object
uk.ac.manchester.spinnaker.connections.UDPPacket
public class UDPPacket extends Object
A packet with an address.
-
Method Summary
Modifier and Type Method Description InetSocketAddress
getAddress()
Get the address.ByteBuffer
getByteBuffer()
Get the buffer with the content of the packet.
-
Method Details
-
getByteBuffer
Get the buffer with the content of the packet.- Returns:
- The buffer
-
getAddress
Get the address.- Returns:
- The address
-