Package net.i2p.router.transport.udp
Interface SSU2Sender
-
- All Known Implementing Classes:
PeerState2
,PeerStateDestroyed
interface SSU2Sender
Basic interface over top of PeerState2 and PeerStateDestroyed, so we can pass them both to PacketBuilder2 to send packets.- Since:
- 0.9.57
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
fragmentsSent(long pktNum, int length, List<PacketBuilder.Fragment> fragments)
SSU2Bitfield
getAckedMessages()
byte
getFlags()
int
getMTU()
long
getNextPacketNumber()
SSU2Bitfield
getReceivedMessages()
RemoteHostId
getRemoteHostId()
InetAddress
getRemoteIPAddress()
int
getRemotePort()
CipherState
getSendCipher()
long
getSendConnID()
byte[]
getSendHeaderEncryptKey1()
byte[]
getSendHeaderEncryptKey2()
boolean
isIPv6()
void
setDestroyReason(int reason)
-
-
-
Method Detail
-
getRemoteHostId
RemoteHostId getRemoteHostId()
-
isIPv6
boolean isIPv6()
-
getRemoteIPAddress
InetAddress getRemoteIPAddress()
-
getRemotePort
int getRemotePort()
-
getMTU
int getMTU()
-
getNextPacketNumber
long getNextPacketNumber() throws IOException
- Throws:
IOException
-
getSendConnID
long getSendConnID()
-
getSendCipher
CipherState getSendCipher()
-
getSendHeaderEncryptKey1
byte[] getSendHeaderEncryptKey1()
-
getSendHeaderEncryptKey2
byte[] getSendHeaderEncryptKey2()
-
setDestroyReason
void setDestroyReason(int reason)
-
getReceivedMessages
SSU2Bitfield getReceivedMessages()
-
getAckedMessages
SSU2Bitfield getAckedMessages()
-
fragmentsSent
void fragmentsSent(long pktNum, int length, List<PacketBuilder.Fragment> fragments)
-
getFlags
byte getFlags()
-
-