org.omg.CosNotifyFilter
Class FilterAdminPOATie

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosNotifyFilter.FilterAdminPOA
          extended by org.omg.CosNotifyFilter.FilterAdminPOATie
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, FilterAdminOperations

public class FilterAdminPOATie
extends FilterAdminPOA

The FilterAdmin interface defines operations that enable an object supporting this interface to manage a list of filter objects, each of which supports the Filter interface. This interface is intended to be an abstract interface which is inherited by all of the Proxy and Admin interfaces defined by the Notification Service. The difference in the semantics between a list of filter objects that is associated with an Admin object, and a list that is associated with a Proxy object, is described in section 2.1.2 of the specifiaction.


Constructor Summary
FilterAdminPOATie(FilterAdminOperations tieObject)
          Constructor
FilterAdminPOATie(FilterAdminOperations tieObject, org.omg.PortableServer.POA poa)
          Constructor
 
Method Summary
 org.omg.PortableServer.POA _default_POA()
          _default_POA method
 FilterAdminOperations _delegate()
          Get the delegate
 void _delegate(FilterAdminOperations delegate_)
          Set the delegate
 int add_filter(Filter new_filter)
          Operation add_filter
 int[] get_all_filters()
          Operation get_all_filters
 Filter get_filter(int filter)
          Operation get_filter
 void remove_all_filters()
          Operation remove_all_filters
 void remove_filter(int filter)
          Operation remove_filter
 
Methods inherited from class org.omg.CosNotifyFilter.FilterAdminPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterAdminPOATie

public FilterAdminPOATie(FilterAdminOperations tieObject)
Constructor


FilterAdminPOATie

public FilterAdminPOATie(FilterAdminOperations tieObject,
                         org.omg.PortableServer.POA poa)
Constructor

Method Detail

_delegate

public FilterAdminOperations _delegate()
Get the delegate


_delegate

public void _delegate(FilterAdminOperations delegate_)
Set the delegate


_default_POA

public org.omg.PortableServer.POA _default_POA()
_default_POA method

Overrides:
_default_POA in class org.omg.PortableServer.Servant

add_filter

public int add_filter(Filter new_filter)
Operation add_filter

Parameters:
new_filter - filter to add
Returns:
filter id

remove_filter

public void remove_filter(int filter)
                   throws FilterNotFound
Operation remove_filter

Parameters:
filter - Id of the filter
Throws:
FilterNotFound - Id doesn't match to any filter

get_filter

public Filter get_filter(int filter)
                  throws FilterNotFound
Operation get_filter

Parameters:
filter - Id of the filter to get
Returns:
The filter object
Throws:
FilterNotFound - Id doesn't match to any filter

get_all_filters

public int[] get_all_filters()
Operation get_all_filters

Returns:
Array of all filters's id

remove_all_filters

public void remove_all_filters()
Operation remove_all_filters