|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Listener interface for notification of creation, deletion, and significant modifications of TWGManagedObject instances. These changes specifically do NOT include on-line/off-line state changes, or other configuration changes which do not have a bearing on the nature of the managed object (i.e. name changes, ping rate, etc). All listener methods are required to be executed quickly by the listener (either by doing only a trivial operation, or by enqueuing the notification to some other handler to be executed after the callback). Failure to follow this behavior can have significant impacts on server performance. Specifically, a listener cannot invoke blocking ServiceNode calls (such as SendCommand()), and must instead use non-blocking versions (such as SendAsynchCommand()).
Method Summary | |
---|---|
void |
managedObjectChanged(TWGManagedObject twgmo,
int reason)
Notification method for TWGManagedObject type and/or content change. |
void |
managedObjectCreated(TWGManagedObject twgmo)
Notification method for TWGManagedObject creation. |
void |
managedObjectDestroyed(TWGManagedObject twgmo)
Notification method for TWGManagedObject deletion. |
Method Detail |
public void managedObjectCreated(TWGManagedObject twgmo)
twgmo
- - Reference to newly created TWGManagedObjectpublic void managedObjectDestroyed(TWGManagedObject twgmo)
twgmo
- - Reference to TWGManagedObject to be deletedpublic void managedObjectChanged(TWGManagedObject twgmo, int reason)
twgmo
- - Reference to modified TWGManagedObjectreason
- - reason for change notification
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |