

Public Member Functions | |
| abstract Publisher | getPublisher () |
| abstract void | deactivate () throws AcsJException |
| String | getChannelName () |
Static Public Member Functions | |
| static AbstractNotificationChannel | createNotificationChannel (int type, String channelName, ContainerServicesBase cs) throws AcsJException |
| static Receiver | getReceiver (int type, String channelName, ContainerServicesBase cs) |
Static Public Attributes | |
| static final int | LOCAL = 0 |
| static final int | CORBA = 1 |
Protected Member Functions | |
| AbstractNotificationChannel (String inChannelName, ContainerServicesBase cs) | |
Protected Attributes | |
| final String | channelName |
Static Package Functions | |
| static String | checkReceiver (String eventTypeName, Object receiver) |
The AbstractNotificationChannel class forms the base class from which Local and CORBA Notification Channel classes are extended.
| alma::acs::nc::AbstractNotificationChannel::AbstractNotificationChannel | ( | String | inChannelName, | |
| ContainerServicesBase | cs | |||
| ) | [inline, protected] |
Create an AbstractNotification Channel.
| inChannelName | The name of this channel. | |
| cs | container services |
References channelName.
| static String alma::acs::nc::AbstractNotificationChannel::checkReceiver | ( | String | eventTypeName, | |
| Object | receiver | |||
| ) | [inline, static, package] |
Return an error message if the receiver object does not contain a method of the type "receive(EventType)"; otherwise return null.
| eventTypeName | The name of the event type that this receiver wishes to receive. | |
| receiver | An object that receives and processes this event. It must have a public method of the form "receive(EventType)", where the EventType parameter in the method signature is the name of an IDL structure that defines the event. |
| static AbstractNotificationChannel alma::acs::nc::AbstractNotificationChannel::createNotificationChannel | ( | int | type, | |
| String | channelName, | |||
| ContainerServicesBase | cs | |||
| ) | throws AcsJException [inline, static] |
Create a Notification Channel.
| type | must be CORBA. | |
| channelName | The name of this channel. | |
| cs | container services |
| AcsJException |
References channelName, CORBA, and LOCAL.
| abstract void alma::acs::nc::AbstractNotificationChannel::deactivate | ( | ) | throws AcsJException [pure virtual] |
Deactivate this notification channel.
Implemented in alma::acs::nc::CorbaNotificationChannel.
| String alma::acs::nc::AbstractNotificationChannel::getChannelName | ( | ) | [inline] |
| abstract Publisher alma::acs::nc::AbstractNotificationChannel::getPublisher | ( | ) | [pure virtual] |
Get the Publisher interface to a currently created channel.
Implements alma::acs::nc::NotificationChannel.
Implemented in alma::acs::nc::CorbaNotificationChannel.
| static Receiver alma::acs::nc::AbstractNotificationChannel::getReceiver | ( | int | type, | |
| String | channelName, | |||
| ContainerServicesBase | cs | |||
| ) | [inline, static] |
Get the Receiver interface to a currently created channel.
| type | Either LOCAL or CORBA. | |
| channelName | The name of the requested channel. | |
| cs |
References CORBA, alma::acs::container::ContainerServicesBase::getLogger(), and LOCAL.
final String alma::acs::nc::AbstractNotificationChannel::channelName [protected] |
The name of this channel.
Referenced by AbstractNotificationChannel(), alma::acs::nc::CorbaNotificationChannel::CorbaNotificationChannel(), createNotificationChannel(), and getChannelName().
final int alma::acs::nc::AbstractNotificationChannel::CORBA = 1 [static] |
The designation for a CORBA notification channel.
Referenced by createNotificationChannel(), and getReceiver().
final int alma::acs::nc::AbstractNotificationChannel::LOCAL = 0 [static] |
The designation for a local notification channel.
Referenced by createNotificationChannel(), and getReceiver().
1.6.2