com.aelitis.net.udp.uc
Class PRUDPPacket
java.lang.Object
com.aelitis.net.udp.uc.PRUDPPacket
- Direct Known Subclasses:
- PRUDPPacketReply, PRUDPPacketRequest
public abstract class PRUDPPacket
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_PACKET_SIZE
public static final int MAX_PACKET_SIZE
- See Also:
- Constant Field Values
DEFAULT_UDP_TIMEOUT
public static final int DEFAULT_UDP_TIMEOUT
- See Also:
- Constant Field Values
PRUDPPacket
protected PRUDPPacket(int _type,
int _transaction_id)
PRUDPPacket
protected PRUDPPacket(int _type)
setSerialisedSize
public void setSerialisedSize(int len)
getSerialisedSize
public int getSerialisedSize()
hasContinuation
public boolean hasContinuation()
setPreviousPacket
public void setPreviousPacket(PRUDPPacket p)
getPreviousPacket
public PRUDPPacket getPreviousPacket()
setAddress
public void setAddress(java.net.InetSocketAddress _address)
getAddress
public java.net.InetSocketAddress getAddress()
getAction
public int getAction()
getTransactionId
public int getTransactionId()
serialise
public abstract void serialise(java.io.DataOutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
getString
public java.lang.String getString()