// // Return an acceptor for this endpoint, or null if no acceptor // is available. In case an acceptor is created, this operation // also returns a new "effective" endpoint, which might differ // from this endpoint, for example, if a dynamic port number is // assigned. // public override IceInternal.Acceptor acceptor(ref IceInternal.EndpointI endpoint, string adapterName) { AcceptorI p = new AcceptorI(_instance, adapterName, _host, _port); endpoint = new EndpointI(_instance, _host, p.effectivePort(), _timeout, connectionId_, _compress); return(p); }
public EndpointI endpoint(AcceptorI acceptor) { return new EndpointI(_instance, host_, acceptor.effectivePort(), sourceAddr_, _timeout, connectionId_, _compress); }
public EndpointI endpoint(AcceptorI acceptor) { return(new EndpointI(_instance, host_, acceptor.effectivePort(), sourceAddr_, _timeout, connectionId_, _compress)); }
// // Return an acceptor for this endpoint, or null if no acceptor // is available. In case an acceptor is created, this operation // also returns a new "effective" endpoint, which might differ // from this endpoint, for example, if a dynamic port number is // assigned. // public override IceInternal.Acceptor acceptor(ref IceInternal.EndpointI endpoint, string adapterName) { AcceptorI p = new AcceptorI(_instance, adapterName, _host, _port); endpoint = new EndpointI(_instance, _host, p.effectivePort(), _timeout, connectionId_, _compress); return p; }