|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
konark.manager.SubscriberProxy
konark.manager.SMSAgentInterfaceProxy
Field Summary |
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Constructor Summary | |
SMSAgentInterfaceProxy(SMSAgentInterface a)
|
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 |
addEvent(EventDetector ed,
EventHandler eh,
java.util.Vector subscriberList)
|
void |
addEvent(java.lang.String eventClassName,
EventHandler eh,
java.util.Vector subscriberList)
|
void |
addEventDetector(java.lang.String eventClassName,
EventDetector ed)
|
void |
addEventHandler(java.lang.String eventClassName,
EventHandler eh)
|
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 |
addSubscriber(java.lang.String eventClassName,
java.util.Vector subscriberList)
|
void |
agentReached(ajanta.naming.URN agentURN)
Remote Interface method for synchronization. |
void |
deleteEvent(java.lang.String eventClassName)
|
void |
deleteSubscriber(java.lang.String eventClassName,
java.util.Vector subscriberList)
|
void |
forceRun(ajanta.naming.URN agentURN)
Remote Interface method for synchronization. |
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)
Proxy method to launch a configuration given the configuration id |
void |
launchConfigRestartMode(java.lang.String configHandle)
Proxy method to launch a configuration in restart mode |
void |
modifyDetector(java.lang.String eventClassName,
java.lang.Object[] object)
|
void |
modifyDetectorOnAgent(ajanta.naming.URN agentURN,
java.lang.String eventDetector,
java.lang.Object[] object)
Remote Interface method for modifying a detector on an agent |
void |
printRunningThreads()
|
void |
readConfigFile(java.lang.String filename,
java.lang.String configHandle)
Proxy 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 |
removeDetector(java.lang.String eventDetector)
|
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 for removing an existing subscription relation |
void |
replaceEventDetector(java.lang.String eventClassName,
EventDetector ed)
|
void |
replaceEventHandler(java.lang.String eventClassName,
EventHandler eh)
|
void |
restoreDetector(EventDetector detector,
EventHandler handler)
|
void |
setAlarmLevel(java.lang.String eventClassName,
int alarmLevel)
|
void |
setAlertLevel(java.lang.String eventClassName,
int alertLevel)
|
void |
setBackupInfoForConfig(java.lang.String configHandle,
java.lang.String baseDir,
java.lang.String baseFileName)
|
boolean |
startRun(ajanta.naming.URN agentURN)
Remote Interface method for synchronization. |
boolean |
startSubscription(ajanta.naming.URN agentURN)
Remote Interface method for synchronization. |
void |
stopAgent()
|
void |
switchOffPrintRunningThreads()
|
void |
terminateChildAgent(ajanta.naming.URN agentURN)
Remote Interface method to terminate an agent |
void |
test(java.lang.String event)
|
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 class konark.manager.SubscriberProxy |
addSubscription, removeSubscription, report, resubscribe, subscribeEvent, subscribeEvent, unsubscribeEvent |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface konark.manager.Subscriber |
addSubscription, removeSubscription, report, resubscribe, subscribeEvent, subscribeEvent, unsubscribeEvent |
Constructor Detail |
public SMSAgentInterfaceProxy(SMSAgentInterface a) throws java.rmi.RemoteException
Method Detail |
public void test(java.lang.String event) throws java.rmi.RemoteException
test
in interface SMSAgentInterface
event
-
java.rmi.RemoteException
public void readConfigFile(java.lang.String filename, java.lang.String configHandle) throws java.lang.Exception
readConfigFile
in interface SMSAgentInterface
filename
- configHandle
-
java.lang.Exception
public void launchConfig(java.lang.String configHandle) throws java.lang.Exception
launchConfig
in interface SMSAgentInterface
configHandle
-
java.lang.Exception
public void setBackupInfoForConfig(java.lang.String configHandle, java.lang.String baseDir, java.lang.String baseFileName) throws java.lang.Exception
setBackupInfoForConfig
in interface SMSAgentInterface
java.lang.Exception
public void launchConfigRestartMode(java.lang.String configHandle) throws java.lang.Exception
launchConfigRestartMode
in interface SMSAgentInterface
configHandle
-
java.lang.Exception
public void addDetector(ajanta.naming.URN agentURN, java.lang.String eventDetector, java.lang.String eventHandler) throws java.lang.Exception
addDetector
in interface SMSAgentInterface
agentURN
- eventDetector
- eventHandler
-
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
addNewSubscription
in interface SMSAgentInterface
publisherURN
- subscriberURN
- eventName
- eventHandler
-
java.lang.Exception
public ConfigObject getConfigObject(java.lang.String configHandle) throws java.lang.Exception
getConfigObject
in interface SMSAgentInterface
configHandle
-
java.lang.Exception
public void addAndLaunchAgents(java.lang.String filename, java.lang.String configHandle) throws java.lang.Exception
addAndLaunchAgents
in interface SMSAgentInterface
filename
- configHandle
-
java.lang.Exception
public void agentReached(ajanta.naming.URN agentURN) throws java.lang.Exception
agentReached
in interface SMSAgentInterface
agentURN
-
java.lang.Exception
public boolean startRun(ajanta.naming.URN agentURN) throws java.lang.Exception
startRun
in interface SMSAgentInterface
agentURN
-
java.lang.Exception
public boolean startSubscription(ajanta.naming.URN agentURN) throws java.lang.Exception
startSubscription
in interface SMSAgentInterface
agentURN
-
java.lang.Exception
public void forceRun(ajanta.naming.URN agentURN) throws java.lang.Exception
forceRun
in interface SMSAgentInterface
agentURN
-
java.lang.Exception
public java.util.Vector getConfigHandleList() throws java.lang.Exception
SMSAgentInterface
getConfigHandleList
in interface SMSAgentInterface
java.lang.Exception
public void modifyDetectorOnAgent(ajanta.naming.URN agentURN, java.lang.String eventDetector, java.lang.Object[] object) throws java.lang.Exception
modifyDetectorOnAgent
in interface SMSAgentInterface
agentURN
- eventDetector
- object
-
java.lang.Exception
public void removeSubscribeRelation(ajanta.naming.URN publisherURN, ajanta.naming.URN subscriberURN, java.lang.String eventName) throws java.lang.Exception
removeSubscribeRelation
in interface SMSAgentInterface
publisherURN
- subscriberURN
- eventName
-
java.lang.Exception
public void removeDetectorOnAgent(ajanta.naming.URN agentURN, java.lang.String detectorName) throws java.lang.Exception
removeDetectorOnAgent
in interface SMSAgentInterface
java.lang.Exception
public void terminateChildAgent(ajanta.naming.URN agentURN) throws java.lang.Exception
SMSAgentInterface
terminateChildAgent
in interface SMSAgentInterface
java.lang.Exception
public void abortConfig(java.lang.String configHandle) throws java.lang.Exception
SMSAgentInterface
abortConfig
in interface SMSAgentInterface
java.lang.Exception
public void stopAgent() throws java.rmi.RemoteException
stopAgent
in interface Monitor
java.rmi.RemoteException
public void registerForEvents(java.lang.String configHandle, java.lang.String url, java.util.Vector eventList) throws java.lang.Exception
SMSAgentInterface
registerForEvents
in interface SMSAgentInterface
java.lang.Exception
public void unregisterForEvents(java.lang.String configHandle, java.lang.String url, java.util.Vector v) throws java.lang.Exception
SMSAgentInterface
unregisterForEvents
in interface SMSAgentInterface
java.lang.Exception
public void registerForHostStatusEvents(java.lang.String clientURL, java.util.Vector configHandles) throws java.lang.Exception
registerForHostStatusEvents
in interface SMSAgentInterface
java.lang.Exception
public void unregisterForAllHostStatusEvents(java.lang.String clientURL) throws java.lang.Exception
unregisterForAllHostStatusEvents
in interface SMSAgentInterface
java.lang.Exception
public void deleteEvent(java.lang.String eventClassName) throws java.rmi.RemoteException
deleteEvent
in interface Monitor
eventClassName
-
java.rmi.RemoteException
public void addEvent(EventDetector ed, EventHandler eh, java.util.Vector subscriberList) throws java.rmi.RemoteException, java.rmi.AlreadyBoundException
addEvent
in interface Monitor
ed
- Event Detector to be installed on the agent.
java.rmi.RemoteException
java.rmi.AlreadyBoundException
public void addEvent(java.lang.String eventClassName, EventHandler eh, java.util.Vector subscriberList) throws java.rmi.RemoteException, java.rmi.AlreadyBoundException
addEvent
in interface Monitor
eventClassName
-
java.rmi.RemoteException
java.rmi.AlreadyBoundException
public void deleteSubscriber(java.lang.String eventClassName, java.util.Vector subscriberList) throws java.rmi.RemoteException
deleteSubscriber
in interface Monitor
eventClassName
- subscriberList
-
java.rmi.RemoteException
public void addSubscriber(java.lang.String eventClassName, java.util.Vector subscriberList) throws java.rmi.RemoteException
addSubscriber
in interface Monitor
eventClassName
- subscriberList
-
java.rmi.RemoteException
public void removeDetector(java.lang.String eventDetector) throws java.rmi.RemoteException
removeDetector
in interface Monitor
eventDetector
-
java.rmi.RemoteException
public void addEventHandler(java.lang.String eventClassName, EventHandler eh) throws java.rmi.RemoteException
addEventHandler
in interface Monitor
eventClassName
- eh
-
java.rmi.RemoteException
public void replaceEventHandler(java.lang.String eventClassName, EventHandler eh) throws java.rmi.RemoteException
replaceEventHandler
in interface Monitor
eventClassName
- eh
-
java.rmi.RemoteException
public void addEventDetector(java.lang.String eventClassName, EventDetector ed) throws java.rmi.RemoteException
addEventDetector
in interface Monitor
eventClassName
- ed
-
java.rmi.RemoteException
public void replaceEventDetector(java.lang.String eventClassName, EventDetector ed) throws java.rmi.RemoteException
replaceEventDetector
in interface Monitor
eventClassName
- ed
-
java.rmi.RemoteException
public void modifyDetector(java.lang.String eventClassName, java.lang.Object[] object) throws java.rmi.RemoteException
modifyDetector
in interface Monitor
eventClassName
- object
-
java.rmi.RemoteException
public void printRunningThreads() throws java.rmi.RemoteException
printRunningThreads
in interface Monitor
java.rmi.RemoteException
public void switchOffPrintRunningThreads() throws java.rmi.RemoteException
switchOffPrintRunningThreads
in interface Monitor
java.rmi.RemoteException
public void restoreDetector(EventDetector detector, EventHandler handler) throws java.rmi.RemoteException
restoreDetector
in interface Monitor
java.rmi.RemoteException
public void setAlarmLevel(java.lang.String eventClassName, int alarmLevel) throws java.rmi.RemoteException
setAlarmLevel
in interface Monitor
eventClassName
- alarmLevel
-
java.rmi.RemoteException
public void setAlertLevel(java.lang.String eventClassName, int alertLevel) throws java.rmi.RemoteException
setAlertLevel
in interface Monitor
eventClassName
- alertLevel
-
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |