org.jacorb.orb.portableInterceptor
Class ServerInterceptorIterator

java.lang.Object
  extended by org.jacorb.orb.portableInterceptor.AbstractInterceptorIterator
      extended by org.jacorb.orb.portableInterceptor.RequestInterceptorIterator
          extended by org.jacorb.orb.portableInterceptor.ServerInterceptorIterator

public class ServerInterceptorIterator
extends RequestInterceptorIterator

This class iterates over an array of ServerRequestInterceptors.

Version:
$Id: ServerInterceptorIterator.java,v 1.12 2006/07/07 10:55:57 alphonse.bendt Exp $
Author:
Nicolas Noffke

Field Summary
static short RECEIVE_REQUEST
           
static short RECEIVE_REQUEST_SERVICE_CONTEXTS
           
static short SEND_EXCEPTION
           
static short SEND_OTHER
           
static short SEND_REPLY
           
 
Fields inherited from class org.jacorb.orb.portableInterceptor.RequestInterceptorIterator
interceptor_ex, op
 
Fields inherited from class org.jacorb.orb.portableInterceptor.AbstractInterceptorIterator
increment, index, interceptors
 
Constructor Summary
ServerInterceptorIterator(org.omg.PortableInterceptor.Interceptor[] interceptors)
           
 
Method Summary
protected  void invoke(org.omg.PortableInterceptor.Interceptor interceptor)
           
 void iterate(ServerRequestInfoImpl info, short op)
          Iterates over the enumeration, i.e.
 
Methods inherited from class org.jacorb.orb.portableInterceptor.RequestInterceptorIterator
reverseDirection, setDirection
 
Methods inherited from class org.jacorb.orb.portableInterceptor.AbstractInterceptorIterator
hasMoreElements, iterate, nextElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RECEIVE_REQUEST_SERVICE_CONTEXTS

public static final short RECEIVE_REQUEST_SERVICE_CONTEXTS
See Also:
Constant Field Values

RECEIVE_REQUEST

public static final short RECEIVE_REQUEST
See Also:
Constant Field Values

SEND_REPLY

public static final short SEND_REPLY
See Also:
Constant Field Values

SEND_EXCEPTION

public static final short SEND_EXCEPTION
See Also:
Constant Field Values

SEND_OTHER

public static final short SEND_OTHER
See Also:
Constant Field Values
Constructor Detail

ServerInterceptorIterator

public ServerInterceptorIterator(org.omg.PortableInterceptor.Interceptor[] interceptors)
Method Detail

iterate

public void iterate(ServerRequestInfoImpl info,
                    short op)
             throws org.omg.CORBA.UserException
Iterates over the enumeration, i.e. calls "op" on nextElement() until !hasMoreElements().

Throws:
org.omg.CORBA.UserException

invoke

protected void invoke(org.omg.PortableInterceptor.Interceptor interceptor)
               throws org.omg.CORBA.UserException
Specified by:
invoke in class AbstractInterceptorIterator
Throws:
org.omg.CORBA.UserException