| Package | com.ericfeminella.rpc |
| Interface | public interface IRemoteService |
| Implementors | AMFPHPRemoteGateway |
| Method | Defined by | ||
|---|---|---|---|
|
addResponder(responder:IResponder):void
Adds a callback responder which is invoked upon RPC result and fault
responses
| IRemoteService | ||
|
invoke(method:String, ... args):void
Invokes a method on a remote object as specifed in remoteServiceClass
| IRemoteService | ||
|
remoteServiceClass(remoteClass:String):void
Sets the class in which remote procedure call (RPC) invocation
is to be made.
| IRemoteService | ||
| addResponder | () | method |
public function addResponder(responder:IResponder):voidAdds a callback responder which is invoked upon RPC result and fault responses
Parametersresponder:IResponder — object that implements IResponder
|
| invoke | () | method |
public function invoke(method:String, ... args):voidInvokes a method on a remote object as specifed in remoteServiceClass
Parametersmethod:String — method to invoke on the remote object
|
|
... args — arbitrary length of arguments passed to the remote method
|
| remoteServiceClass | () | method |
public function remoteServiceClass(remoteClass:String):voidSets the class in which remote procedure call (RPC) invocation is to be made. You must include the fully qualified classpath.
The remoteServiceClass instance class can be changed at runtime therefor a single instance of a concrete RemoteGateway implementation can be used to call methods on various objects
ParametersremoteClass:String — remote class to invoke
|