org.omg.CosNotification

Interface AdminPropertiesAdminOperations

public interface AdminPropertiesAdminOperations

The AdminPropertiesAdmin interface defines operations which enable clients to get and set the values of administrative properties. This interface is intended to be an abstract interface which is inherited by the Event Channel interfaces defined in the CosNotifyChannelAdmin and CosTypedNotifyChannelAmin modules. The semantics of the operations supported by this interface are defined below.
Method Summary
Property[]get_admin()
The get_admin operation takes no input parameters, and returns a sequence of name-value pairs which encapsulates the current administrative settings for the target channel.
voidset_admin(Property[] admin)
The set_admin operation takes as an input parameter a sequence of name-value pairs which encapsulates administrative property settings that a client is requesting that the target channel support.

Method Detail

get_admin

public Property[] get_admin()
The get_admin operation takes no input parameters, and returns a sequence of name-value pairs which encapsulates the current administrative settings for the target channel.

Returns: All Admin Properties

set_admin

public void set_admin(Property[] admin)
The set_admin operation takes as an input parameter a sequence of name-value pairs which encapsulates administrative property settings that a client is requesting that the target channel support. If the implementation of the target object is not capable of supporting any of the requested administrative property settings, the UnsupportedAdmin exception is raised. This exception has associated with it a list of name-value pairs of which each name identifies an administrative property whose requested setting could not be satisfied, and each associated value the closest setting for that property which could be satisfied.

Parameters: admin Array of admin property

Throws: org.omg.CosNotification.UnsupportedAdmin If implementation doesn't support a property