|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.server.net.rtmp.DeferredResult
public class DeferredResult
Can be returned to delay returning the result of invoked methods.
Field Summary | |
---|---|
protected static Logger |
log
Logger |
Constructor Summary | |
---|---|
DeferredResult()
|
Method Summary | |
---|---|
void |
setChannel(Channel channel)
Setter for channel. |
void |
setInvokeId(int id)
Setter for invoke Id. |
void |
setResult(Object result)
Set the result of a method call and send to the caller. |
void |
setServiceCall(IPendingServiceCall call)
Setter for service call. |
boolean |
wasSent()
Check if the result has been sent to the client. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Logger log
Constructor Detail |
---|
public DeferredResult()
Method Detail |
---|
public void setResult(Object result)
result
- deferred result of the method callpublic boolean wasSent()
true
if the result has been sent, otherwise false
public void setInvokeId(int id)
id
- Invocation object identifierpublic void setServiceCall(IPendingServiceCall call)
call
- Service callpublic void setChannel(Channel channel)
channel
- Channel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |