Package org.jgroups.stack
Interface Retransmitter.RetransmitCommand
-
- All Known Implementing Classes:
AckSenderWindow,NAKACK
- Enclosing class:
- Retransmitter
public static interface Retransmitter.RetransmitCommandRetransmit command (see Gamma et al.) used to retrieve missing messages
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidretransmit(long first_seqno, long last_seqno, Address sender)Get the missing messages between sequence numbersfirst_seqnoandlast_seqno.
-
-
-
Method Detail
-
retransmit
void retransmit(long first_seqno, long last_seqno, Address sender)Get the missing messages between sequence numbersfirst_seqnoandlast_seqno. This can either be done by sending a retransmit message to destinationsender(nak-based scheme), or by retransmitting the missing message(s) tosender(ack-based scheme).- Parameters:
first_seqno- The sequence number of the first missing messagelast_seqno- The sequence number of the last missing messagesender- The destination of the member to which the retransmit request will be sent (nak-based scheme), or to which the message will be retransmitted (ack-based scheme).
-
-