C# Class RPCBase.MetaData

Exibir arquivo Open project: fingerpasswang/Phial

Public Methods

Method Description
GetMethodSerializer ( Type service ) : IMethodSerializer
GetMode ( byte mode ) : Mode
GetMode ( string mode ) : Mode
GetServiceId ( Type service ) : string
GetServiceMethodDispatcher ( Type service ) : IServiceMethodDispatcher
GetServiceRoutingRule ( Type serviceType ) : RoutingRule
GetServiceRoutingRule ( string serviceId ) : RoutingRule
SetMethodSerializer ( Type service, IMethodSerializer methodSerializer ) : void
SetServiceId ( Type service, string serviceId ) : void
SetServiceMethodDispatcher ( Type service, IServiceMethodDispatcher serviceMethodDispatcher ) : void
SetServiceRoutingRule ( string serviceId, RoutingRule serviceMetaInfo ) : void

Method Details

GetMethodSerializer() public static method

public static GetMethodSerializer ( Type service ) : IMethodSerializer
service System.Type
return IMethodSerializer

GetMode() public static method

public static GetMode ( byte mode ) : Mode
mode byte
return Mode

GetMode() public static method

public static GetMode ( string mode ) : Mode
mode string
return Mode

GetServiceId() public static method

public static GetServiceId ( Type service ) : string
service System.Type
return string

GetServiceMethodDispatcher() public static method

public static GetServiceMethodDispatcher ( Type service ) : IServiceMethodDispatcher
service System.Type
return IServiceMethodDispatcher

GetServiceRoutingRule() public static method

public static GetServiceRoutingRule ( Type serviceType ) : RoutingRule
serviceType System.Type
return RoutingRule

GetServiceRoutingRule() public static method

public static GetServiceRoutingRule ( string serviceId ) : RoutingRule
serviceId string
return RoutingRule

SetMethodSerializer() public static method

public static SetMethodSerializer ( Type service, IMethodSerializer methodSerializer ) : void
service System.Type
methodSerializer IMethodSerializer
return void

SetServiceId() public static method

public static SetServiceId ( Type service, string serviceId ) : void
service System.Type
serviceId string
return void

SetServiceMethodDispatcher() public static method

public static SetServiceMethodDispatcher ( Type service, IServiceMethodDispatcher serviceMethodDispatcher ) : void
service System.Type
serviceMethodDispatcher IServiceMethodDispatcher
return void

SetServiceRoutingRule() public static method

public static SetServiceRoutingRule ( string serviceId, RoutingRule serviceMetaInfo ) : void
serviceId string
serviceMetaInfo RoutingRule
return void