All Packages Class Hierarchy This Package Previous Next Index
Interface edu.cmu.owl.so.notification.NotifServer
- public interface interface NotifServer
This interface represents the main interface to the notification server.
It is through this interface that all clients to the subsystem will talk to
the subsystem
- Version:
- 1.0
-
SERVER_NAME
- the server's name in the registry and the name service
-
createEventChannel(String)
- This method creates an event channel with the given name
-
getByName(String)
- This method returns the event channel associated with the given name
-
getEventChannelList()
- This method returns all the Event Channels present.
-
ping()
- This method is for testing purposes
SERVER_NAME
public static final String SERVER_NAME
- the server's name in the registry and the name service
getEventChannelList
public abstract Enumeration getEventChannelList() throws RemoteException
- This method returns all the Event Channels present.
- Returns:
- the event channels that are currently active
- Throws: RemoteException
- if anything went wrong in the communication
getByName
public abstract EventChannel getByName(String eventChannel) throws RemoteException, UnknownEventChannel
- This method returns the event channel associated with the given name
- Returns:
- the desired event channel
- Throws: RemoteException
- if anything went wrong in the communication
- Throws: UnknownEventChannel
- if there is no such channel
createEventChannel
public abstract void createEventChannel(String eventChannel) throws RemoteException, ChannelAlreadyExists
- This method creates an event channel with the given name
- Throws: RemoteException
- if anything went wrong in the communication
- Throws: ChannelAlreadyExists
- if there is another channel by the same name
ping
public abstract void ping() throws RemoteException
- This method is for testing purposes
- Throws: RemoteException
- if anything went wrong in the communication
All Packages Class Hierarchy This Package Previous Next Index