/// <summary> /// Creates a new client to connect to a server using an end point. /// </summary> /// <param name="endpoint">End point of the server to connect it</param> /// <returns>Created TCP client</returns> public static IClient CreateClient(ProtocolEndPointBase endpoint) { return endpoint.CreateClient(); }
/// <summary> /// Creates a new ZCF Service application using an EndPoint. /// </summary> /// <param name="endPoint">EndPoint that represents address of the service</param> /// <returns>Created ZCF service application</returns> public static IServiceApplication CreateService(ProtocolEndPointBase endPoint) { return new ServiceApplication(ServerFactory.CreateServer(endPoint)); }