Package com.biglybt.net.udp.uc.impl
Class PRUDPPacketHandlerRequestImpl
java.lang.Object
com.biglybt.net.udp.uc.impl.PRUDPPacketHandlerRequestImpl
- All Implemented Interfaces:
PRUDPPacketHandlerRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PRUDPPacketHandlerException
private PRUDPPacketReceiver
private PRUDPPacket
private long
private AESemaphore
private long
private long
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
PRUDPPacketHandlerRequestImpl
(PRUDPPacketReceiver _receiver, long _timeout) -
Method Summary
Modifier and TypeMethodDescriptionlong
protected PRUDPPacket
getReply()
protected long
protected long
protected void
sent()
protected void
protected void
setReply
(PRUDPPacket packet, InetSocketAddress originator, long receive_time)
-
Field Details
-
sem
-
timeout
private long timeout -
receiver
-
exception
-
reply
-
send_time
private long send_time -
reply_time
private long reply_time
-
-
Constructor Details
-
PRUDPPacketHandlerRequestImpl
-
-
Method Details
-
sent
protected void sent() -
getSendTime
protected long getSendTime() -
getTimeout
protected long getTimeout() -
getElapsedTime
public long getElapsedTime()- Specified by:
getElapsedTime
in interfacePRUDPPacketHandlerRequest
-
setReply
-
setException
-
getReply
- Throws:
PRUDPPacketHandlerException
-