- <init>
- getName
- onReceiveAck
We have received PacketTypes#ACK packet. Need to stop retransmitting of ack-ed
packet.
- onReceiveData
We have received PacketTypes#DATA packet. Need to check crc32, decrypt payload
with sessionKey, call
- onReceiveHello
We have received PacketTypes#HELLO packet. Should create localNonce and send it
in reply.
- onReceiveKeyReq
Here we checks that both parts of KEY_REQ are received. Now we should create
sessionKey and send it
- onReceiveKeyReqPart1
We have received PacketTypes#KEY_REQ_PART1 packet. Waiting for part2 or continue
if it has got alrea
- onReceiveKeyReqPart2
We have received PacketTypes#KEY_REQ_PART2 packet. Waiting for part1 or continue
if it has got alrea
- onReceiveNack
We have received PacketTypes#NACK packet. Means that session is broken, e.g.
remote node was reboote
- onReceiveSession
Here we checks that both parts of SESSION are received. Now we should create
sessionKey and send it
- onReceiveSessionAck
We have received PacketTypes#SESSION_ACK packet. Need to stop retransmitting of
any handshake packet
- onReceiveSessionPart1
We have received PacketTypes#SESSION_PART1 packet. Waiting for part2 or continue
if it has got alrea