org.jacorb.orb.portableInterceptor
Class DefaultServerInterceptor

java.lang.Object
  extended byorg.omg.CORBA.LocalObject
      extended byorg.jacorb.orb.portableInterceptor.DefaultServerInterceptor
All Implemented Interfaces:
IDLEntity, Interceptor, InterceptorOperations, Object, java.io.Serializable, ServerRequestInterceptor, ServerRequestInterceptorOperations
Direct Known Subclasses:
BiDirConnectionServerInterceptor

public abstract class DefaultServerInterceptor
extends LocalObject
implements ServerRequestInterceptor

DefaultServerInterceptor.java A simple base class for user-defined server interceptors

Version:
$Id: DefaultServerInterceptor.java,v 1.7 2004/05/06 12:40:00 nicolas Exp $
Author:
Gerald Brose.
See Also:
Serialized Form

Constructor Summary
DefaultServerInterceptor()
           
 
Method Summary
 void destroy()
           
abstract  java.lang.String name()
           
 void receive_request_service_contexts(ServerRequestInfo ri)
           
 void receive_request(ServerRequestInfo ri)
           
 void send_exception(ServerRequestInfo ri)
           
 void send_other(ServerRequestInfo ri)
           
 void send_reply(ServerRequestInfo ri)
           
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

DefaultServerInterceptor

public DefaultServerInterceptor()
Method Detail

name

public abstract java.lang.String name()
Specified by:
name in interface InterceptorOperations

destroy

public void destroy()
Specified by:
destroy in interface InterceptorOperations

receive_request_service_contexts

public void receive_request_service_contexts(ServerRequestInfo ri)
                                      throws ForwardRequest
Specified by:
receive_request_service_contexts in interface ServerRequestInterceptorOperations
Throws:
ForwardRequest

receive_request

public void receive_request(ServerRequestInfo ri)
                     throws ForwardRequest
Specified by:
receive_request in interface ServerRequestInterceptorOperations
Throws:
ForwardRequest

send_reply

public void send_reply(ServerRequestInfo ri)
Specified by:
send_reply in interface ServerRequestInterceptorOperations

send_exception

public void send_exception(ServerRequestInfo ri)
                    throws ForwardRequest
Specified by:
send_exception in interface ServerRequestInterceptorOperations
Throws:
ForwardRequest

send_other

public void send_other(ServerRequestInfo ri)
                throws ForwardRequest
Specified by:
send_other in interface ServerRequestInterceptorOperations
Throws:
ForwardRequest