Example #1
0
        //
        // 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);
        }
Example #2
0
 public EndpointI endpoint(AcceptorI acceptor)
 {
     return new EndpointI(_instance, host_, acceptor.effectivePort(), sourceAddr_, _timeout, connectionId_,
                          _compress);
 }
Example #3
0
 public EndpointI endpoint(AcceptorI acceptor)
 {
     return(new EndpointI(_instance, host_, acceptor.effectivePort(), sourceAddr_, _timeout, connectionId_,
                          _compress));
 }
Example #4
0
 //
 // 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;
 }