Filter is a conceptually abstract class which describes the interface to a per-process filter.A programmer who wishes to implement a per-process filter may define a derived class of
Filter and redefine some or all of the four monitoring methods as described in Chapter 21, "Filters" of the OrbixWeb Programming Guide. // Java
package IE.Iona.Orbix2.CORBA;
public class Filter {
// Constructor
protected Filter();
protected Filter(boolean installme);
// Methods
public void _delete();
// Client side filter points
public boolean outRequestPreMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
public boolean outRequestPostMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
public boolean inReplyPreMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
public boolean inReplyPostMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
// Server side filter points
public boolean inRequestPreMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
public boolean inRequestPostMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
public boolean outReplyPreMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
public boolean outReplyPostMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
// Failure filter points
public void outReplyFailure(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
public void inReplyFailure(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
}
CORBA.AuthenticationFilter
protected Filter();
Filter cannot be created: the constructor is protected to enforce this. The derived classes of Filter will normally have public constructors.
protected Filter(boolean installme);
installme is true, this constructor adds the newly created filter object into the per-process filter chain. Direct instances of Filter cannot be created: the constructor is protected to enforce this. The derived classes of Filter may have public constructors which override this constructor.
public void _delete();
Filter object from the process filter chain.
public void inReplyFailure(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
If not redefined in a derived class, this filter point carries out no actions.
public boolean inReplyPostMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
If not redefined in a derived class, the following implementation is inherited:
// Java
{ return true; } // Continue the call.
false) to indicate that the call is not to be continued. If the return value is false, and no exception is raised, OrbixWeb raises a FILTER_SUPPRESS exception.
public boolean inReplyPreMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
If not redefined in a derived class, the following implementation is inherited:
// Java
{ return true; } // Continue the call.
false) to indicate that the call is not to be continued. If the return value is false, and no exception is raised, OrbixWeb raises a FILTER_SUPPRESS exception.
public boolean inRequestPostMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
If not redefined in a derived class, the following implementation is inherited:
// Java
{ return true; } // Continue the call.
false) to indicate that the call is not to be continued. If the return value is false, and no exception is raised, OrbixWeb raises a FILTER_SUPPRESS exception. The exception is not propagated by OrbixWeb to the caller: at this stage, the invocation is already completed and it is too late to raise an exception.
public boolean inRequestPreMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
If not redefined in a derived class, the following implementation is inherited:
// Java
{ return true; } // Continue the call.
false) to indicate that the call is not to be continued. If the return value is false, and no exception is raised, OrbixWeb raises a FILTER_SUPPRESS exception.
CORBA.ThreadFilter
public void outReplyFailure(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
If not redefined in a derived class, this filter point carries out no actions.
public boolean outReplyPostMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
If not redefined in a derived class, the following implementation is inherited:
// C++
{ return true; } // Continue the call.
false) to indicate that the call is not to be continued. If the return value is false, and no exception is raised, OrbixWeb raises a FILTER_SUPPRESS exception.
public boolean outReplyPreMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
If not redefined in a derived class, the following implementation is inherited:
// C++
{ return true; } // Continue the call.
false) to indicate that the call is not to be continued. If the return value is false, and no exception is raised, OrbixWeb raises a FILTER_SUPPRESS exception.
public boolean outRequestPostMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
If not redefined in a derived class, the following implementation is inherited:
// C++
{ return true; } // Continue the call.
false) to indicate that the call is not to be continued. If the return value is false, and no exception is raised, OrbixWeb raises a FILTER_SUPPRESS exception.
public boolean outRequestPreMarshal(Request r)
throws IE.Iona.Orbix2.CORBA.SystemException;
If not redefined in a derived class, the following implementation is inherited:
// C++
{ return true; } // Continue the call.
false) to indicate that the call is not to be continued. If the return value is false, and no exception is raised, OrbixWeb raises a FILTER_SUPPRESS exception.