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 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(InetSocketAddress _address)
getAddress
public InetSocketAddress getAddress()
getAction
public int getAction()
getTransactionId
public int getTransactionId()
serialise
public abstract void serialise(DataOutputStream os)
throws IOException
- Throws:
IOException
getString
public String getString()