| java.lang.Object seda.sandStorm.core.BufferElement seda.sandStorm.lib.aSocket.AUdpPacket
AUdpPacket | public class AUdpPacket extends BufferElement (Code) | | An AUdpPacket is an extension to BufferElement that supports
specifying the destination address and port for a given packet.
author: Matt Welsh |
Constructor Summary | |
public | AUdpPacket(byte data) Create an AUdpPacket with the given data, an offset of 0, and a
size of data.length. | public | AUdpPacket(byte data, SinkIF compQ) Create an AUdpPacket with the given data, an offset of 0, and a
size of data.length, with the given completion queue. | public | AUdpPacket(byte data, int offset, int size) Create an AUdpPacket with the given data, offset, and size. | public | AUdpPacket(byte data, int offset, int size, SinkIF compQ) Create an AUdpPacket with the given data, offset, size, and
completion queue. | public | AUdpPacket(byte data, int offset, int size, SinkIF compQ, InetAddress address, int port) Create an AUdpPacket with the given data, offset, size,
completion queue, destination address, and port. | public | AUdpPacket(int size) Create an AUdpPacket with a new data array of the given size. |
AUdpPacket | public AUdpPacket(byte data)(Code) | | Create an AUdpPacket with the given data, an offset of 0, and a
size of data.length.
|
AUdpPacket | public AUdpPacket(byte data, SinkIF compQ)(Code) | | Create an AUdpPacket with the given data, an offset of 0, and a
size of data.length, with the given completion queue.
|
AUdpPacket | public AUdpPacket(byte data, int offset, int size)(Code) | | Create an AUdpPacket with the given data, offset, and size.
|
AUdpPacket | public AUdpPacket(byte data, int offset, int size, SinkIF compQ)(Code) | | Create an AUdpPacket with the given data, offset, size, and
completion queue.
|
AUdpPacket | public AUdpPacket(byte data, int offset, int size, SinkIF compQ, InetAddress address, int port)(Code) | | Create an AUdpPacket with the given data, offset, size,
completion queue, destination address, and port.
|
AUdpPacket | public AUdpPacket(int size)(Code) | | Create an AUdpPacket with a new data array of the given size.
|
getAddress | public InetAddress getAddress()(Code) | | Return the destination address. Returns null if not set.
|
getPort | public int getPort()(Code) | | Return the destination port. Returns -1 if not set.
|
|
|