com.aelitis.azureus.core
Interface AzureusCore
- All Known Implementing Classes: 
 - AzureusCoreImpl
 
public interface AzureusCore
 
 
CA_QUIT_VUZE
static final String CA_QUIT_VUZE
- See Also:
 - Constant Field Values
 
CA_SLEEP
static final String CA_SLEEP
- See Also:
 - Constant Field Values
 
CA_HIBERNATE
static final String CA_HIBERNATE
- See Also:
 - Constant Field Values
 
CA_SHUTDOWN
static final String CA_SHUTDOWN
- See Also:
 - Constant Field Values
 
getCreateTime
long getCreateTime()
 
canStart
boolean canStart()
 
start
void start()
           throws AzureusCoreException
- Throws:
 AzureusCoreException
 
isStarted
boolean isStarted()
 
isInitThread
boolean isInitThread()
 
stop
void stop()
          throws AzureusCoreException
- stop the core and inform lifecycle listeners of stopping
- Throws:
 AzureusCoreException
 
 
requestStop
void requestStop()
                 throws AzureusCoreException
- ask lifecycle listeners to perform a stop. they may veto this by throwing an exception, or do nothing
 if nothing is done then it will be stopped as per "stop" above
- Throws:
 AzureusCoreException
 
 
checkRestartSupported
void checkRestartSupported()
                           throws AzureusCoreException
- checks if restart operation is supported - if not an alert will be raised and an exception thrown
- Throws:
 AzureusCoreException
 
 
restart
void restart()
- restart the system
 
 
requestRestart
void requestRestart()
                    throws AzureusCoreException
- request a restart of the system - currently only available for swt based systems
- Throws:
 AzureusCoreException
 
 
isRestarting
boolean isRestarting()
- Returns:
 - Since:
 
  - 3053
 
 
executeCloseAction
void executeCloseAction(String action,
                        String reason)
 
saveState
void saveState()
 
getLocaleUtil
LocaleUtil getLocaleUtil()
 
getGlobalManager
GlobalManager getGlobalManager()
                               throws AzureusCoreException
- Throws:
 AzureusCoreException
 
getPluginManagerDefaults
PluginManagerDefaults getPluginManagerDefaults()
                                               throws AzureusCoreException
- Throws:
 AzureusCoreException
 
getPluginManager
PluginManager getPluginManager()
                               throws AzureusCoreException
- Throws:
 AzureusCoreException
 
getTrackerHost
TRHost getTrackerHost()
                      throws AzureusCoreException
- Throws:
 AzureusCoreException
 
getIpFilterManager
IpFilterManager getIpFilterManager()
                                   throws AzureusCoreException
- Throws:
 AzureusCoreException
 
getInstanceManager
AZInstanceManager getInstanceManager()
 
getSpeedManager
SpeedManager getSpeedManager()
 
getCryptoManager
CryptoManager getCryptoManager()
 
getNATTraverser
NATTraverser getNATTraverser()
 
getLockFile
File getLockFile()
 
createOperation
void createOperation(int type,
                     AzureusCoreOperationTask task)
 
addLifecycleListener
void addLifecycleListener(AzureusCoreLifecycleListener l)
 
removeLifecycleListener
void removeLifecycleListener(AzureusCoreLifecycleListener l)
 
addOperationListener
void addOperationListener(AzureusCoreOperationListener l)
 
removeOperationListener
void removeOperationListener(AzureusCoreOperationListener l)
 
triggerLifeCycleComponentCreated
void triggerLifeCycleComponentCreated(AzureusCoreComponent component)
- Parameters:
 component - 
 
addPowerManagementListener
void addPowerManagementListener(PowerManagementListener listener)
 
removePowerManagementListener
void removePowerManagementListener(PowerManagementListener listener)