|
||||||||||
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
network.manager.MonitorProxy
network.manager.SubscriberProxy
network.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 |
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 for synchronization. |
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 |
modifyDetectorOnAgent(ajanta.naming.URN agentURN,
java.lang.String eventDetector,
java.lang.Object[] object)
Remote Interface method for modifying a detector on an agent |
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 |
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 |
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 |
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 network.manager.SubscriberProxy |
addSubscription, removeSubscription, report, resubscribe |
Methods inherited from class network.manager.MonitorProxy |
addEvent, addEvent, addEventDetector, addEventHandler, addSubscriber, deleteEvent, deleteSubscriber, modifyDetector, printRunningThreads, removeDetector, replaceEventDetector, replaceEventHandler, restoreDetector, setAlarmLevel, setAlertLevel, subscribeEvent, switchOffPrintRunningThreads |
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 network.manager.Subscriber |
addSubscription, removeSubscription, report, resubscribe |
Methods inherited from interface network.manager.Monitor |
addEvent, addEvent, addEventDetector, addEventHandler, addSubscriber, deleteEvent, deleteSubscriber, modifyDetector, printRunningThreads, removeDetector, replaceEventDetector, replaceEventHandler, restoreDetector, setAlarmLevel, setAlertLevel, subscribeEvent, switchOffPrintRunningThreads |
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
stopAgent
in class MonitorProxy
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |