Package com.aelitis.azureus.core.networkmanager.impl.http

Examples of com.aelitis.azureus.core.networkmanager.impl.http.HTTPNetworkManager


      check       = _check;
      http_test    = _http_test;
     
      if ( http_test ){
       
        HTTPNetworkManager  net_man = HTTPNetworkManager.getSingleton();
       
        if ( net_man.isHTTPListenerEnabled()){
          
          use_incoming_router = _port == net_man.getHTTPListeningPortNumber();
         
        }else{
         
          use_incoming_router = false;
        }
        if ( use_incoming_router ){
         
          if ( !net_man.isEffectiveBindAddress( bind_ip )){
           
            net_man.setExplicitBindAddress( bind_ip );
           
            bind_ip_set  = true;
          }
        }
      }else{
     
        TCPNetworkManager  net_man = TCPNetworkManager.getSingleton();

          if ( net_man.isTCPListenerEnabled()){
              
          use_incoming_router = _port == net_man.getTCPListeningPortNumber();
         
        }else{
         
          use_incoming_router = false;
       
         
        if ( use_incoming_router ) {
  
        if ( !net_man.isEffectiveBindAddress( bind_ip )){
           
            net_man.setExplicitBindAddress( bind_ip );
           
            bind_ip_set  = true;
          }
      
            //test port and currently-configured listening port are the same,
View Full Code Here


                done_udp = udp_manager.getUDPNonDataListeningPortNumber()));
 
      }
    }
   
    HTTPNetworkManager  http_manager = HTTPNetworkManager.getSingleton();
   
    if ( http_manager.isHTTPListenerEnabled()){
     
      protocols.add(
          new NetworkAdminProtocolImpl(
              azureus_core,
              NetworkAdminProtocol.PT_HTTP,
              http_manager.getHTTPListeningPortNumber()));
    }
       
    return((NetworkAdminProtocol[])protocols.toArray( new NetworkAdminProtocol[protocols.size()]));
   }
View Full Code Here

TOP

Related Classes of com.aelitis.azureus.core.networkmanager.impl.http.HTTPNetworkManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.