Beispiel #1
0
 /// <summary>
 /// Creates a new instance of <see cref="WampRpcClientFactory{TMessage}"/>.
 /// </summary>
 /// <param name="serializer">The <see cref="IWampRpcSerializer"/> used
 /// in order to serialize RPC calls.</param>
 /// <param name="clientHandlerBuilder">The <see cref="IWampRpcClientHandlerBuilder{TMessage}"/>
 /// used in order to build the handler that handles the <see cref="WampRpcCall"/>s.</param>
 public WampRpcClientFactory(IWampRpcSerializer serializer, IWampRpcClientHandlerBuilder <TMessage> clientHandlerBuilder)
 {
     mSerializer           = serializer;
     mClientHandlerBuilder = clientHandlerBuilder;
 }