com.aelitis.azureus.core.dht.transport.udp.impl
Class DHTUDPPacketReplyError
java.lang.Object
com.aelitis.net.udp.uc.PRUDPPacket
com.aelitis.net.udp.uc.PRUDPPacketReply
com.aelitis.azureus.core.dht.transport.udp.impl.DHTUDPPacketReply
com.aelitis.azureus.core.dht.transport.udp.impl.DHTUDPPacketReplyError
- All Implemented Interfaces:
- DHTUDPPacket
public class DHTUDPPacketReplyError
- extends DHTUDPPacketReply
Methods inherited from class com.aelitis.azureus.core.dht.transport.udp.impl.DHTUDPPacketReply |
getClockSkew, getConnectionId, getGenericFlags, getGenericFlags2, getNetwork, getNetworkPositions, getProcessingTime, getProtocolVersion, getString, getTargetInstanceID, getTransport, getVendorID, setNetwork, setNetworkPositions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ET_UNKNOWN
public static final int ET_UNKNOWN
- See Also:
- Constant Field Values
ET_ORIGINATOR_ADDRESS_WRONG
public static final int ET_ORIGINATOR_ADDRESS_WRONG
- See Also:
- Constant Field Values
ET_KEY_BLOCKED
public static final int ET_KEY_BLOCKED
- See Also:
- Constant Field Values
DHTUDPPacketReplyError
public DHTUDPPacketReplyError(DHTTransportUDPImpl transport,
DHTUDPPacketRequest request,
DHTTransportContact local_contact,
DHTTransportContact remote_contact)
DHTUDPPacketReplyError
protected DHTUDPPacketReplyError(DHTUDPPacketNetworkHandler network_handler,
java.net.InetSocketAddress originator,
java.io.DataInputStream is,
int trans_id)
throws java.io.IOException
- Throws:
java.io.IOException
setErrorType
protected void setErrorType(int error)
getErrorType
protected int getErrorType()
setOriginatingAddress
protected void setOriginatingAddress(java.net.InetSocketAddress a)
getOriginatingAddress
protected java.net.InetSocketAddress getOriginatingAddress()
setKeyBlockDetails
protected void setKeyBlockDetails(byte[] kbr,
byte[] sig)
getKeyBlockRequest
protected byte[] getKeyBlockRequest()
getKeyBlockSignature
protected byte[] getKeyBlockSignature()
serialise
public void serialise(java.io.DataOutputStream os)
throws java.io.IOException
- Overrides:
serialise
in class DHTUDPPacketReply
- Throws:
java.io.IOException