org.ow2.easybeans.component.audit.rmi.interceptor.jrmp
Class ServerInterceptor

java.lang.Object
  extended by org.ow2.easybeans.component.audit.rmi.interceptor.jrmp.ServerInterceptor
All Implemented Interfaces:
org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor

public class ServerInterceptor
extends Object
implements org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor

Author:
Florent Benoit

Constructor Summary
ServerInterceptor()
           
 
Method Summary
 String name()
          Gets the name of this interceptor.
 void receive_request(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
          Receive request from client.
 void send_exception(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
          Send exception with context.
 void send_other(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
          Not used by this interceptor.
 void send_reply(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
          Send reply with context to the client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerInterceptor

public ServerInterceptor()
Method Detail

receive_request

public void receive_request(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
                     throws IOException
Receive request from client.

Specified by:
receive_request in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Parameters:
jServerRequestInfo - the jrmp server request information
Throws:
IOException - if an exception occurs with the ObjectOutput

send_reply

public void send_reply(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
                throws IOException
Send reply with context to the client.

Specified by:
send_reply in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Parameters:
jServerRequestInfo - the jrmp server request information
Throws:
IOException - if an exception occur with the ObjectOutput

name

public String name()
Gets the name of this interceptor.

Specified by:
name in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Returns:
name of the interceptor.

send_exception

public void send_exception(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
                    throws IOException
Send exception with context. Not used.

Specified by:
send_exception in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Parameters:
jServerRequestInfo - the jrmp server request information
Throws:
IOException - if an exception occur with the ObjectOutput

send_other

public void send_other(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
                throws IOException
Not used by this interceptor.

Specified by:
send_other in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Parameters:
jServerRequestInfo - the jrmp server request information
Throws:
IOException - if an exception occur with the ObjectOutput


Copyright © 2006-2011 OW2 Consortium. All Rights Reserved.