|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.red5.server.service.Call org.red5.server.service.PendingCall org.red5.server.net.remoting.message.RemotingCall
public class RemotingCall
Remoting method call, specific pending call.
Field Summary | |
---|---|
String |
clientCallback
Client callback name |
static String |
HANDLER_ERROR
Handler error posfix constant |
static String |
HANDLER_SUCCESS
Handler success posfix constant |
boolean |
isAMF3
|
boolean |
isMessaging
|
Fields inherited from class org.red5.server.service.Call |
---|
arguments, exception, serviceMethodName, serviceName, status, STATUS_ACCESS_DENIED, STATUS_APP_SHUTTING_DOWN, STATUS_GENERAL_EXCEPTION, STATUS_INVOCATION_EXCEPTION, STATUS_METHOD_NOT_FOUND, STATUS_NOT_CONNECTED, STATUS_PENDING, STATUS_SERVICE_NOT_FOUND, STATUS_SUCCESS_NULL, STATUS_SUCCESS_RESULT, STATUS_SUCCESS_VOID |
Constructor Summary | |
---|---|
RemotingCall()
Default / void constructor to prevent runtime exception. |
|
RemotingCall(String serviceName,
String serviceMethod,
Object[] args,
String callback,
boolean isAMF3,
boolean isMessaging)
Create remoting call from service name, method name, list of arguments and callback name. |
Method Summary | |
---|---|
String |
getClientResponse()
Getter for client response. |
Object |
getClientResult()
Getter for client result. |
void |
setClientCallback(String clientCallback)
Setter for client callback. |
Methods inherited from class org.red5.server.service.PendingCall |
---|
getCallbacks, getResult, readExternal, registerCallback, setResult, unregisterCallback, writeExternal |
Methods inherited from class org.red5.server.service.Call |
---|
getArguments, getException, getReadTime, getServiceMethodName, getServiceName, getStatus, getWriteTime, isSuccess, setArguments, setException, setServiceMethodName, setServiceName, setStatus, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.red5.server.api.service.IServiceCall |
---|
getArguments, getException, getReadTime, getServiceMethodName, getServiceName, getStatus, getWriteTime, isSuccess, setException, setStatus |
Field Detail |
---|
public static final String HANDLER_SUCCESS
public static final String HANDLER_ERROR
public String clientCallback
public boolean isAMF3
public boolean isMessaging
Constructor Detail |
---|
public RemotingCall()
public RemotingCall(String serviceName, String serviceMethod, Object[] args, String callback, boolean isAMF3, boolean isMessaging)
serviceName
- Service nameserviceMethod
- Service method nameargs
- Parameters passed to methodcallback
- Name of client callbackisAMF3
- Does the client support AMF3?isMessaging
- Is this a Flex messaging request?Method Detail |
---|
public void setClientCallback(String clientCallback)
clientCallback
- Client callbackpublic String getClientResponse()
public Object getClientResult()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |