C# Class MSA.Zmq.JsonRpc.MethodCallResolver

Mostrar archivo Open project: kadekcipta/ZmqJsonRpc

Public Methods

Method Description
CallMethod ( JsonRpcRequestHeader requestHeader, JsonRpcRequest request, Action methodAuthorizer, System.Action methodLogger ) : string
GetAvailableTasks ( ) : IList
HasMethod ( string methodName ) : bool
MethodCallResolver ( object handler, string endpointPrefix ) : System

Private Methods

Method Description
FetchOrCacheMethodAttribute ( MethodBase mi ) : JsonRpcMethodAttribute
LoadFromHandler ( object handler ) : void
WrapException ( int id, int code, string message, Exception ex ) : string

Method Details

CallMethod() public method

public CallMethod ( JsonRpcRequestHeader requestHeader, JsonRpcRequest request, Action methodAuthorizer, System.Action methodLogger ) : string
requestHeader JsonRpcRequestHeader
request JsonRpcRequest
methodAuthorizer Action
methodLogger System.Action
return string

GetAvailableTasks() public method

public GetAvailableTasks ( ) : IList
return IList

HasMethod() public method

public HasMethod ( string methodName ) : bool
methodName string
return bool

MethodCallResolver() public method

public MethodCallResolver ( object handler, string endpointPrefix ) : System
handler object
endpointPrefix string
return System