Example #1
0
 public TcpClient(IPEndPoint endpoint, ISerializer serializer = null)
 {
     if (null == serializer)
     {
         serializer = new DefaultSerializer();
     }
     Proxy = TcpProxy.CreateProxy <TInterface>(endpoint, serializer);
 }
Example #2
0
 public TcpClient(IPEndPoint endpoint)
 {
     Proxy = TcpProxy.CreateProxy <TInterface>(endpoint);
 }
Example #3
0
 public TcpClient(TcpZkEndPoint endpoint)
 {
     _proxy = TcpProxy.CreateProxy <TInterface>(endpoint);
 }