|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AzureusCoreLifecycleListener
Method Summary | |
---|---|
void |
componentCreated(AzureusCore core,
AzureusCoreComponent component)
|
boolean |
requiresPluginInitCompleteBeforeStartedEvent()
hack - original semantics of the "started" event was that all plugins init complete However, some can take a long time (and even block if attempting to acquire, say, public IP address and version server is down...) so added this flag to allow listeners to indicate that they're happy to be "started" before plugin init complete |
boolean |
restartRequested(AzureusCore core)
|
void |
started(AzureusCore core)
|
void |
stopped(AzureusCore core)
|
void |
stopping(AzureusCore core)
|
boolean |
stopRequested(AzureusCore core)
return true if the request has been accepted (and hence the listener will arrange for a stop to occur |
boolean |
syncInvokeRequired()
Some listeners must be invoked on the same thread that initiates a core closedown. |
Method Detail |
---|
void componentCreated(AzureusCore core, AzureusCoreComponent component)
void started(AzureusCore core)
void stopping(AzureusCore core)
void stopped(AzureusCore core)
boolean stopRequested(AzureusCore core) throws AzureusCoreException
core
-
AzureusCoreException
boolean restartRequested(AzureusCore core) throws AzureusCoreException
AzureusCoreException
boolean syncInvokeRequired()
boolean requiresPluginInitCompleteBeforeStartedEvent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |