コード例 #1
0
ファイル: TcpClient.cs プロジェクト: wouterroos/ServiceWire
 public TcpClient(IPEndPoint endpoint, ISerializer serializer = null)
 {
     if (null == serializer)
     {
         serializer = new DefaultSerializer();
     }
     Proxy = TcpProxy.CreateProxy <TInterface>(endpoint, serializer);
 }
コード例 #2
0
ファイル: TcpClient.cs プロジェクト: vbondaryuk/ServiceWire
 public TcpClient(IPEndPoint endpoint)
 {
     Proxy = TcpProxy.CreateProxy <TInterface>(endpoint);
 }
コード例 #3
0
 public TcpClient(TcpZkEndPoint endpoint)
 {
     _proxy = TcpProxy.CreateProxy <TInterface>(endpoint);
 }