org.red5.server.net.remoting.message
public class RemotingCall extends PendingCall
Modifier and Type | Field and Description |
---|---|
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 |
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getClientResponse()
Getter for client response.
|
Object |
getClientResult()
Getter for client result.
|
void |
setClientCallback(String clientCallback)
Setter for client callback.
|
getCallbacks, getResult, readExternal, registerCallback, setResult, unregisterCallback, writeExternal
getArguments, getException, getReadTime, getServiceMethodName, getServiceName, getStatus, getWriteTime, isSuccess, setArguments, setException, setServiceMethodName, setServiceName, setStatus, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getArguments, getException, getReadTime, getServiceMethodName, getServiceName, getStatus, getWriteTime, isSuccess, setException, setStatus
public static final String HANDLER_SUCCESS
public static final String HANDLER_ERROR
public String clientCallback
public boolean isAMF3
public boolean isMessaging
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?public void setClientCallback(String clientCallback)
clientCallback
- Client callbackpublic String getClientResponse()
public Object getClientResult()
Copyright © 2006-2012 The Red5 Project