Interface RequestTracker
public interface RequestTracker
A tracker for synchronous requests.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
The reply was just received.void
The request timed-out before receiving the reply.void
Resets the send time to the current time.
-
Method Details
-
destination
Address destination()- Returns:
- The destination
Address
of the request. It is nevernull
.
-
resetSendTime
void resetSendTime()Resets the send time to the current time. -
onComplete
void onComplete()The reply was just received. -
onTimeout
void onTimeout()The request timed-out before receiving the reply.
-