org.jacorb.orb.portableInterceptor

Class ServerInterceptorIterator


public class ServerInterceptorIterator
extends RequestInterceptorIterator

This class iterates over an array of ServerRequestInterceptors.

Version:
$Id: ServerInterceptorIterator.java,v 1.10 2004/05/06 12:40:00 nicolas 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(Interceptor interceptors)

Method Summary

protected void
invoke(Interceptor interceptor)
void
iterate(ServerRequestInfoImpl info, short op)
Iterates over the enumeration, i.e. calls "op" on nextElement() until !

Methods inherited from class org.jacorb.orb.portableInterceptor.RequestInterceptorIterator

reverseDirection, setDirection

Methods inherited from class org.jacorb.orb.portableInterceptor.AbstractInterceptorIterator

hasMoreElements, invoke, iterate, nextElement

Field Details

RECEIVE_REQUEST

public static final short RECEIVE_REQUEST

Field Value:
1


RECEIVE_REQUEST_SERVICE_CONTEXTS

public static final short RECEIVE_REQUEST_SERVICE_CONTEXTS

Field Value:
0


SEND_EXCEPTION

public static final short SEND_EXCEPTION

Field Value:
3


SEND_OTHER

public static final short SEND_OTHER

Field Value:
4


SEND_REPLY

public static final short SEND_REPLY

Field Value:
2

Constructor Details

ServerInterceptorIterator

public ServerInterceptorIterator(Interceptor interceptors)

Method Details

invoke

protected void invoke(Interceptor interceptor)
            throws UserException
Overrides:
invoke in interface AbstractInterceptorIterator


iterate

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