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

RPC class proxy, with typed invokers More...

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

Public Member Functions

void Invoke< TContext, TRet > (Expression< Func< T, TRet >> exp, RpcTarget target, Action< TContext, TRet > returnCallback)
 Invokes a remoted method by name, at a target More...
 
void Invoke< TRet > (Expression< Func< T, TRet >> exp, RpcTarget target, Action< TRet > returnCallback)
 Invokes a remoted method by name, at a target More...
 
void Invoke (Expression< Action< T >> exp, RpcTarget target)
 Invoke the specified expression on the target. More...
 
- Public Member Functions inherited from pluginbase.Objects.Libs.Rpc.IRpcClass
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

RPC class proxy, with typed invokers

Type Constraints
T :class 

Member Function Documentation

void pluginbase.Objects.Libs.Rpc.IRpcClass< T >.Invoke ( Expression< Action< T >>  exp,
RpcTarget  target 
)

Invoke the specified expression on the target.

Parameters
expCallable Expression
targetTarget.
void pluginbase.Objects.Libs.Rpc.IRpcClass< T >.Invoke< TContext, TRet > ( Expression< Func< T, TRet >>  exp,
RpcTarget  target,
Action< TContext, TRet >  returnCallback 
)

Invokes a remoted method by name, at a target

Parameters
expExpression
targetTarget.
returnCallbackReturn callback.
Template Parameters
TContextType of context
TRetType of return value
void pluginbase.Objects.Libs.Rpc.IRpcClass< T >.Invoke< TRet > ( Expression< Func< T, TRet >>  exp,
RpcTarget  target,
Action< TRet >  returnCallback 
)

Invokes a remoted method by name, at a target

Parameters
expExpression
targetTarget.
returnCallbackReturn callback.
Template Parameters
TRetReturn type.

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