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