org.ow2.carol.rmi.interceptor.spi
Interface JServerRequestInterceptor


public interface JServerRequestInterceptor

Interface JServerRequestIntercepto is the CAROL JRMP Server Interceptor interface

Version:
1.0, 15/07/2002
Author:
Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)

Method Summary
 java.lang.String name()
          get the name of this interceptor
 void receiveRequest(JServerRequestInfo jri)
          Receive request
 void sendException(JServerRequestInfo jri)
          send exception with context
 void sendOther(JServerRequestInfo jri)
           
 void sendReply(JServerRequestInfo jri)
          send reply with context
 

Method Detail

receiveRequest

void receiveRequest(JServerRequestInfo jri)
                    throws java.io.IOException
Receive request

Parameters:
JServerRequestInfo - the jrmp server request information
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

sendReply

void sendReply(JServerRequestInfo jri)
               throws java.io.IOException
send reply with context

Parameters:
JServerRequestInfo - the jrmp server request information
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

sendException

void sendException(JServerRequestInfo jri)
                   throws java.io.IOException
send exception with context

Parameters:
JServerRequestInfo - the jrmp server request information
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

sendOther

void sendOther(JServerRequestInfo jri)
               throws java.io.IOException
Throws:
java.io.IOException

name

java.lang.String name()
get the name of this interceptor

Returns:
name


Copyright © 2008 OW2 Consortium. All Rights Reserved.