public static class IncomingPacketsProcessed.GotAllPoint extends Object
It notes the packetIds of the packets received and uses those to maintain the 'gotAllPoint'. The 'gotAllPoint' is the packetId which we know we received all the previous packets.
| Constructor and Description |
|---|
IncomingPacketsProcessed.GotAllPoint(String memberKey,
int maxResendIncoming) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAckResendMessages(AckResendMessages response,
MessageAck lastAckMessage)
Add ACK and RESEND messages if required.
|
long |
getGotAllPoint() |
long |
getGotMaxPoint() |
String |
getMemberKey() |
List<Long> |
getMissingPackets() |
boolean |
processPacket(long packetId) |
public IncomingPacketsProcessed.GotAllPoint(String memberKey, int maxResendIncoming)
public void addAckResendMessages(AckResendMessages response, MessageAck lastAckMessage)
public String getMemberKey()
public long getGotAllPoint()
public long getGotMaxPoint()
public boolean processPacket(long packetId)
Copyright © 2014. All Rights Reserved.