Ejemplo n.º 1
0
 internal ClientInterfaceProxy <TIface> GetProxyDecorator <TIface>(VRpcClient rpcClient) where TIface : class
 {
     return(GetProxy <ClientInterfaceProxy <TIface>, TIface, VRpcClient>(InitializeAsyncPropxy, rpcClient));
 }
Ejemplo n.º 2
0
 // ctor.
 /// <summary>
 /// Принимает открытое соединение Web-Socket.
 /// </summary>
 internal ClientSideConnection(VRpcClient client, ClientWebSocket ws, ServiceProvider serviceProvider, InvokeActionsDictionary controllers)
     : base(ws.ManagedWebSocket, isServer: false, serviceProvider, controllers)
 {
     Client = client;
 }
Ejemplo n.º 3
0
 //[DebuggerStepThrough]
 private static void InitializeAsyncPropxy <T>(string controllerName, ClientInterfaceProxy <T> p, VRpcClient rpcClient) where T : class
 {
     p.InitializeClone(rpcClient, controllerName);
 }