Exemple #1
0
 public override ZeroC.Ice.Endpoint NewConnectionId(string connectionId)
 {
     ZeroC.Ice.Endpoint endpoint = _endpoint.NewConnectionId(connectionId);
     if (endpoint == _endpoint)
     {
         return(this);
     }
     else
     {
         return(new Endpoint(endpoint));
     }
 }
Exemple #2
0
 public override Endpoint NewConnectionId(string connectionId) =>
 connectionId == _delegate.ConnectionId ? this :
 new WSEndpoint(_instance, _delegate.NewConnectionId(connectionId), Resource);