Пример #1
0
 public MockWampRpcCallDetails(IWampRpcClient <TMessage> client, string callId, string procUri, object[] arguments)
 {
     mClient    = client;
     mCallId    = callId;
     mProcUri   = procUri;
     mArguments = arguments;
 }
Пример #2
0
 public IWampServer Create(IWampRpcClient <TMessage> client, IWampConnection <TMessage> connection)
 {
     mClient = client;
     return(mServer);
 }
 public IWampServer Create(IWampRpcClient <TMessage> client, IWampConnection <TMessage> connection)
 {
     return(mServerFactory(client));
 }
Пример #4
0
 public IWampServer Create(IWampRpcClient <TMessage> client, IWampConnection <TMessage> connection)
 {
     return(mProxyBuilder.Create(client, connection));
 }
Пример #5
0
 public MockWampRpcServerProxy(MockWampRpcCallManager <TMessage> parent,
                               IWampRpcClient <TMessage> client)
 {
     mParent = parent;
     mClient = client;
 }
Пример #6
0
 private void CallArrived(IWampRpcClient <TMessage> client, string callId, string procUri, object[] arguments)
 {
     mCallIdToCallDetails[callId] = new MockWampRpcCallDetails <TMessage>(client, callId, procUri, arguments);
 }
Пример #7
0
 public IWampServer GetServer(IWampRpcClient <TMessage> client)
 {
     return(new MockWampRpcServerProxy(this, client));
 }