|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface definition for the SMSAgent The GUI is going to operate on methods on this interface This interface contains methods like report (Reporting failed events), Adding events, detectors etc.
Method Summary | |
void |
abortConfig(java.lang.String configHandle)
Remote Interface method to abort a configuration |
void |
addAndLaunchAgents(java.lang.String filename,
java.lang.String configHandle)
Remote Interface method to launch an agent |
void |
addDetector(ajanta.naming.URN agentURN,
java.lang.String eventDetector,
java.lang.String eventHandler)
Remote interface method to install an detector remotely |
void |
addNewSubscription(ajanta.naming.URN publisherURN,
ajanta.naming.URN subscriberURN,
java.lang.String eventName,
java.lang.String eventHandler)
Remote interface method to add a subscription to an agent |
void |
agentReached(ajanta.naming.URN agentURN)
Remote Interface method indicating successful agent arrival at a host |
void |
forceRun(ajanta.naming.URN agentURN)
Remote Interface method indicating that an agent would like to start running even though it has not subscribed to all |
java.util.Vector |
getConfigHandleList()
Remote Interface method to get a list of config handles from an SMSAgent |
ConfigObject |
getConfigObject(java.lang.String configHandle)
Remote interface method to get configuration object from an agent |
void |
launchConfig(java.lang.String configHandle)
Remote interface method to launch a configuration given the configuration id |
void |
launchConfigRestartMode(java.lang.String configHandle)
Remote interface method to launch a configuration in restart mode |
void |
modifyDetectorOnAgent(ajanta.naming.URN agentURN,
java.lang.String eventDetector,
java.lang.Object[] object)
Remote Interface method to modify an agent's detector |
void |
readConfigFile(java.lang.String filename,
java.lang.String configHandle)
Remote interface method to read a configuration file and set it to a configuration name/id/handle |
void |
registerForEvents(java.lang.String configHandle,
java.lang.String url,
java.util.Vector eventList)
Remote Interface method to get interesting events from the broker |
void |
registerForHostStatusEvents(java.lang.String clientURL,
java.util.Vector configHandles)
|
void |
removeDetectorOnAgent(ajanta.naming.URN agentURN,
java.lang.String detectorName)
Remote Interface method to remove a detector from an agent |
void |
removeSubscribeRelation(ajanta.naming.URN publisherURN,
ajanta.naming.URN subscriberURN,
java.lang.String eventName)
Remote Interface method to remove a subscription |
void |
setBackupInfoForConfig(java.lang.String configHandle,
java.lang.String baseDir,
java.lang.String baseFileName)
|
boolean |
startRun(ajanta.naming.URN agentURN)
Remote Interface method signalling whether an agent can start executing |
boolean |
startSubscription(ajanta.naming.URN agentURN)
Remote Interface method signalling whether an agent can start subscribing |
void |
terminateChildAgent(ajanta.naming.URN agentURN)
Remote Interface method to terminate an agent |
void |
test(java.lang.String e)
|
void |
unregisterForAllHostStatusEvents(java.lang.String clientURL)
|
void |
unregisterForEvents(java.lang.String configHandle,
java.lang.String url,
java.util.Vector v)
Remote Interface method to get unregister receiving of events |
Methods inherited from interface konark.manager.Monitor |
addEvent, addEvent, addEventDetector, addEventHandler, addSubscriber, deleteEvent, deleteSubscriber, modifyDetector, printRunningThreads, removeDetector, replaceEventDetector, replaceEventHandler, restoreDetector, setAlarmLevel, setAlertLevel, stopAgent, switchOffPrintRunningThreads |
Methods inherited from interface konark.manager.Subscriber |
addSubscription, removeSubscription, report, resubscribe, subscribeEvent, subscribeEvent, unsubscribeEvent |
Method Detail |
public void readConfigFile(java.lang.String filename, java.lang.String configHandle) throws java.lang.Exception
java.lang.Exception
public void launchConfig(java.lang.String configHandle) throws java.lang.Exception
java.lang.Exception
public void setBackupInfoForConfig(java.lang.String configHandle, java.lang.String baseDir, java.lang.String baseFileName) throws java.lang.Exception
java.lang.Exception
public void launchConfigRestartMode(java.lang.String configHandle) throws java.lang.Exception
java.lang.Exception
public void addDetector(ajanta.naming.URN agentURN, java.lang.String eventDetector, java.lang.String eventHandler) throws java.lang.Exception
java.lang.Exception
public void addNewSubscription(ajanta.naming.URN publisherURN, ajanta.naming.URN subscriberURN, java.lang.String eventName, java.lang.String eventHandler) throws java.lang.Exception
java.lang.Exception
public ConfigObject getConfigObject(java.lang.String configHandle) throws java.lang.Exception
java.lang.Exception
public void addAndLaunchAgents(java.lang.String filename, java.lang.String configHandle) throws java.lang.Exception
java.lang.Exception
public void agentReached(ajanta.naming.URN agentURN) throws java.lang.Exception
java.lang.Exception
public boolean startRun(ajanta.naming.URN agentURN) throws java.lang.Exception
java.lang.Exception
public boolean startSubscription(ajanta.naming.URN agentURN) throws java.lang.Exception
java.lang.Exception
public void forceRun(ajanta.naming.URN agentURN) throws java.lang.Exception
java.lang.Exception
public java.util.Vector getConfigHandleList() throws java.lang.Exception
java.lang.Exception
public void modifyDetectorOnAgent(ajanta.naming.URN agentURN, java.lang.String eventDetector, java.lang.Object[] object) throws java.lang.Exception
java.lang.Exception
public void removeSubscribeRelation(ajanta.naming.URN publisherURN, ajanta.naming.URN subscriberURN, java.lang.String eventName) throws java.lang.Exception
java.lang.Exception
public void removeDetectorOnAgent(ajanta.naming.URN agentURN, java.lang.String detectorName) throws java.lang.Exception
java.lang.Exception
public void terminateChildAgent(ajanta.naming.URN agentURN) throws java.lang.Exception
java.lang.Exception
public void abortConfig(java.lang.String configHandle) throws java.lang.Exception
java.lang.Exception
public void registerForEvents(java.lang.String configHandle, java.lang.String url, java.util.Vector eventList) throws java.lang.Exception
java.lang.Exception
public void unregisterForEvents(java.lang.String configHandle, java.lang.String url, java.util.Vector v) throws java.lang.Exception
java.lang.Exception
public void test(java.lang.String e) throws java.rmi.RemoteException
java.rmi.RemoteException
public void registerForHostStatusEvents(java.lang.String clientURL, java.util.Vector configHandles) throws java.lang.Exception
java.lang.Exception
public void unregisterForAllHostStatusEvents(java.lang.String clientURL) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |