Interface RequestSink
public interface RequestSink
- Author:
- joakim
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Signal the abortion of a call.<T extends RequestContext>
TSend an asyncronous call.
-
Method Details
-
signal
Send an asyncronous call. The method should return immediately. Any replies for this call back to this entity is forwarded to the given signal context, until the given time is elapsed, or the request is closed.- Type Parameters:
T
- context type- Parameters:
msg
- message to sendsignalContext
- a signal context to forward replies to, or null if replies are ignoredmaxWait
- the maximum lifetime of this request, before closing- Returns:
- the signal context
-
abort
Signal the abortion of a call. The sink delivers no guarantees that the call can be aborted.- Parameters:
callID
- the callID of the call to abort
-