| java.lang.Object seda.sandStorm.lib.aSocket.AUdpInPacket
AUdpInPacket | public class AUdpInPacket implements QueueElementIF(Code) | | An AUdpInPacket represents a packet which was received from a
datagram socket.
author: Matt Welsh |
Method Summary | |
public byte[] | getBytes() Return the packet data. | public DatagramPacket | getPacket() Return the DatagramPacket. | public long | getSequenceNumber() Return the sequence number associated with this packet.
Sequence numbers range from 1 to Long.MAX_VALUE, then wrap
around to Long.MIN_VALUE. | public AUdpSocket | getSocket() Return the socket from which this packet was received. | public int | size() Return the size of the packet data. | public String | toString() |
getBytes | public byte[] getBytes()(Code) | | Return the packet data.
|
getSequenceNumber | public long getSequenceNumber()(Code) | | Return the sequence number associated with this packet.
Sequence numbers range from 1 to Long.MAX_VALUE, then wrap
around to Long.MIN_VALUE. A sequence number of 0 indicates that
no sequence number was associated with this packet when it was
created.
|
getSocket | public AUdpSocket getSocket()(Code) | | Return the socket from which this packet was received.
|
size | public int size()(Code) | | Return the size of the packet data.
|
|
|