Beispiel #1
0
 /// <summary>
 /// Creates a new SCS Service application using an EndPoint.
 /// </summary>
 /// <param name="endPoint">EndPoint that represents address of the service</param>
 /// <returns>Created SCS service application</returns>
 public static IScsServiceApplication CreateService(ScsEndPoint endPoint)
 {
     return new ScsServiceApplication(ScsServerFactory.CreateServer(endPoint));
 }
Beispiel #2
0
 /// <summary>
 /// Creates a new SCS Server using an EndPoint.
 /// </summary>
 /// <param name="endPoint">Endpoint that represents address of the server</param>
 /// <returns>Created TCP server</returns>
 public static IScsServer CreateServer(ScsEndPoint endPoint)
 {
     return endPoint.CreateServer();
 }
Beispiel #3
0
 /// <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 IScsClient CreateClient(ScsEndPoint endpoint)
 {
     return endpoint.CreateClient();
 }