Package net.i2p.router.tunnel
Class OutboundGatewayMessage
java.lang.Object
net.i2p.router.tunnel.PendingGatewayMessage
net.i2p.router.tunnel.OutboundGatewayMessage
class OutboundGatewayMessage extends PendingGatewayMessage implements CDPQEntry
Stores all the state for an unsent or partially-sent message
- Since:
- 0.9.3
-
Field Summary
Fields inherited from class net.i2p.router.tunnel.PendingGatewayMessage
_created, _expiration, _fragmentNumber, _messageId, _offset, _remaining, _toRouter, _toTunnel
-
Constructor Summary
Constructors Constructor Description OutboundGatewayMessage(I2NPMessage message, Hash toRouter, TunnelId toTunnel)
-
Method Summary
Modifier and Type Method Description int
getPriority()
For CDPQlong
getSeqNum()
For CDPQvoid
setSeqNum(long num)
For CDPQMethods inherited from class net.i2p.router.tunnel.PendingGatewayMessage
addMessageId, drop, getData, getEnqueueTime, getExpiration, getFragmentNumber, getLifetime, getMessageId, getMessageIds, getOffset, getToRouter, getToTunnel, incrementFragmentNumber, setEnqueueTime, setOffset, toString
-
Constructor Details
-
Method Details
-
setSeqNum
public void setSeqNum(long num)For CDPQ -
getSeqNum
public long getSeqNum()For CDPQ -
getPriority
public int getPriority()For CDPQ- Specified by:
getPriority
in interfacePQEntry
-