Package org.red5.server.api.service
Interface IPendingServiceCall
- All Superinterfaces:
IServiceCall
- All Known Implementing Classes:
PendingCall
IPendingServiceCall is a call that have a list of callbacks.
-
Method Summary
Modifier and TypeMethodDescriptionReturns list of callback objects, usually callback object represented as an anonymous class instance that implements IPendingServiceCallback interface.Returns service call resultvoid
registerCallback
(IPendingServiceCallback callback) Registers callback object usually represented as an anonymous class instance that implements IPendingServiceCallback interface.void
Setter for property 'result'.void
unregisterCallback
(IPendingServiceCallback callback) Unregisters callback object usually represented as an anonymous class instance that implements IPendingServiceCallback interface.Methods inherited from interface org.red5.server.api.service.IServiceCall
getArguments, getException, getReadTime, getServiceMethodName, getServiceName, getStatus, getWriteTime, isSuccess, setException, setStatus
-
Method Details
-
getResult
Object getResult()Returns service call result- Returns:
- Remote call result
-
setResult
Setter for property 'result'.- Parameters:
result
- Value to set for property 'result'.
-
registerCallback
Registers callback object usually represented as an anonymous class instance that implements IPendingServiceCallback interface.- Parameters:
callback
- Callback object
-
unregisterCallback
Unregisters callback object usually represented as an anonymous class instance that implements IPendingServiceCallback interface.- Parameters:
callback
- Callback object
-
getCallbacks
Set<IPendingServiceCallback> getCallbacks()Returns list of callback objects, usually callback object represented as an anonymous class instance that implements IPendingServiceCallback interface.- Returns:
- Set of pending operations callbacks
-