public class DeferredResult extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log
Logger
|
Constructor and Description |
---|
DeferredResult() |
Modifier and Type | Method and Description |
---|---|
void |
setChannel(Channel channel)
Setter for channel.
|
void |
setResult(Object result)
Set the result of a method call and send to the caller.
|
void |
setServiceCall(IPendingServiceCall call)
Setter for service call.
|
void |
setTransactionId(int id)
Setter for transaction id.
|
boolean |
wasSent()
Check if the result has been sent to the client.
|
public void setResult(Object result)
result
- deferred result of the method callpublic boolean wasSent()
trueif the result has been sent, otherwise
false
public void setTransactionId(int id)
id
- Invocation object identifierpublic void setServiceCall(IPendingServiceCall call)
call
- Service callpublic void setChannel(Channel channel)
channel
- ChannelCopyright © 2005–2019 Red5. All rights reserved.