Exemplo n.º 1
0
 /// <summary>
 /// Returns an instance of the endpoint to use.
 /// </summary>
 protected override EndpointBase GetEndpointInstance(ServerBase server)
 {
     return new SessionEndpoint(server);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates an instance of the service host.
 /// </summary>
 protected override ServiceHost CreateServiceHost(ServerBase server, params Uri[] addresses)
 {
     return new ServiceHost(this, typeof(SessionEndpoint), addresses);
 }