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