Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
pluginbase.Objects.Libs.Rpc.IRpcClass Interface Reference

An interface that represents a remoted class More...

Inheritance diagram for pluginbase.Objects.Libs.Rpc.IRpcClass:
pluginbase.Objects.Libs.Rpc.IRpcClass< T >

Public Member Functions

IRpcMethod GetMethod (string name)
 Gets a remoted method by name More...
 
void Invoke (string name, RpcTarget target, params object[] args)
 Invokes a remoted method by name, at a target More...
 
void Invoke< TContext, TRet > (string name, RpcTarget target, Action< TContext, TRet > returnCallback, params object[] args)
 Invokes a remoted method by name, at a target, with a given return callback More...
 
void Invoke< TRet > (string name, RpcTarget target, Action< TRet > returnCallback, params object[] args)
 Invokes a remoted method by name, at a target, with a given callback method More...
 

Detailed Description

An interface that represents a remoted class

Member Function Documentation

IRpcMethod pluginbase.Objects.Libs.Rpc.IRpcClass.GetMethod ( string  name)

Gets a remoted method by name

Returns
The method.
Parameters
nameName.
void pluginbase.Objects.Libs.Rpc.IRpcClass.Invoke ( string  name,
RpcTarget  target,
params object[]  args 
)

Invokes a remoted method by name, at a target

Parameters
nameName.
targetTarget.
argsArguments.
void pluginbase.Objects.Libs.Rpc.IRpcClass.Invoke< TContext, TRet > ( string  name,
RpcTarget  target,
Action< TContext, TRet >  returnCallback,
params object[]  args 
)

Invokes a remoted method by name, at a target, with a given return callback

Parameters
nameName.
targetTarget.
returnCallbackReturn callback.
argsArguments.
Template Parameters
TContextThe 1st type parameter.
TRetThe 2nd type parameter.
void pluginbase.Objects.Libs.Rpc.IRpcClass.Invoke< TRet > ( string  name,
RpcTarget  target,
Action< TRet >  returnCallback,
params object[]  args 
)

Invokes a remoted method by name, at a target, with a given callback method

Parameters
nameName.
targetTarget.
returnCallbackReturn callback.
argsArguments.
Template Parameters
TRetThe 1st type parameter.

The documentation for this interface was generated from the following file: