org.objectweb.jonas.ha.interceptor
Class HAClientInterceptor

java.lang.Object
  extended byorg.objectweb.jonas.ha.interceptor.HAClientInterceptor
All Implemented Interfaces:
org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor, java.io.Serializable

public class HAClientInterceptor
extends java.lang.Object
implements org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor

This class represents the client side of the interceptor mechanism implemented to transfer replication related information between client and server sides.

See Also:
Serialized Form

Constructor Summary
HAClientInterceptor()
          Constructor
 
Method Summary
 void destroy()
           
 java.lang.String name()
          Get the name of this interceptor
 void receive_exception(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
           
 void receive_other(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
           
 void receive_reply(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
           
 void send_poll(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
           
 void send_request(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
          Constructs the HAContext with the required replication information on the client side
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HAClientInterceptor

public HAClientInterceptor()
Constructor

Method Detail

name

public java.lang.String name()
Get the name of this interceptor

Specified by:
name in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Returns:
name

send_request

public void send_request(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
                  throws java.io.IOException
Constructs the HAContext with the required replication information on the client side

Specified by:
send_request in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Throws:
java.io.IOException

receive_reply

public void receive_reply(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
                   throws java.io.IOException
Specified by:
receive_reply in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Throws:
java.io.IOException

receive_exception

public void receive_exception(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
                       throws java.io.IOException
Specified by:
receive_exception in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Throws:
java.io.IOException

receive_other

public void receive_other(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
                   throws java.io.IOException
Specified by:
receive_other in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Throws:
java.io.IOException

destroy

public void destroy()

send_poll

public void send_poll(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
               throws java.io.IOException
Specified by:
send_poll in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Throws:
java.io.IOException