konark.manager
Class SubscriberProxy
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
konark.manager.SubscriberProxy
- All Implemented Interfaces:
- java.rmi.Remote, java.io.Serializable, Subscriber
- Direct Known Subclasses:
- MonitorProxy, SMSAgentInterfaceProxy
- public class SubscriberProxy
- extends java.rmi.server.UnicastRemoteObject
- implements Subscriber
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Method Summary |
void |
addSubscription(java.util.Vector eventList,
ajanta.naming.URN agURN)
|
void |
removeSubscription(ajanta.naming.URN monitorURN,
java.lang.String eventName)
|
void |
report(Event event)
|
void |
resubscribe(ajanta.naming.URN monitorURN)
|
void |
subscribeEvent(java.lang.String eventClassName,
ajanta.naming.URN subscriber)
|
void |
subscribeEvent(java.lang.String eventClassName,
ajanta.naming.URN subscriber,
java.util.Hashtable filterTable)
|
void |
unsubscribeEvent(java.lang.String eventClassName,
ajanta.naming.URN subscriber)
|
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 |
SubscriberProxy
public SubscriberProxy(Subscriber a)
throws java.rmi.RemoteException
report
public void report(Event event)
throws java.rmi.RemoteException
- Specified by:
report
in interface Subscriber
- Parameters:
event
-
- Throws:
java.rmi.RemoteException
addSubscription
public void addSubscription(java.util.Vector eventList,
ajanta.naming.URN agURN)
throws java.rmi.RemoteException
- Specified by:
addSubscription
in interface Subscriber
- Throws:
java.rmi.RemoteException
removeSubscription
public void removeSubscription(ajanta.naming.URN monitorURN,
java.lang.String eventName)
throws java.rmi.RemoteException
- Specified by:
removeSubscription
in interface Subscriber
- Throws:
java.rmi.RemoteException
resubscribe
public void resubscribe(ajanta.naming.URN monitorURN)
throws java.rmi.RemoteException
- Specified by:
resubscribe
in interface Subscriber
- Throws:
java.rmi.RemoteException
subscribeEvent
public void subscribeEvent(java.lang.String eventClassName,
ajanta.naming.URN subscriber,
java.util.Hashtable filterTable)
throws java.rmi.RemoteException,
remoteConfigException
- Specified by:
subscribeEvent
in interface Subscriber
- Throws:
java.rmi.RemoteException
remoteConfigException
subscribeEvent
public void subscribeEvent(java.lang.String eventClassName,
ajanta.naming.URN subscriber)
throws java.rmi.RemoteException,
remoteConfigException
- Specified by:
subscribeEvent
in interface Subscriber
- Throws:
java.rmi.RemoteException
remoteConfigException
unsubscribeEvent
public void unsubscribeEvent(java.lang.String eventClassName,
ajanta.naming.URN subscriber)
throws java.rmi.RemoteException,
remoteConfigException
- Specified by:
unsubscribeEvent
in interface Subscriber
- Throws:
java.rmi.RemoteException
remoteConfigException