org.omg.FT
Class FTCPRServerRequestInterceptor

java.lang.Object
  |
  +--org.omg.CORBA.LocalObject
        |
        +--org.omg.FT.FTCPRServerRequestInterceptor
All Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity, org.omg.PortableInterceptor.Interceptor, org.omg.PortableInterceptor.InterceptorOperations, org.omg.CORBA.Object, java.io.Serializable, org.omg.PortableInterceptor.ServerRequestInterceptor, org.omg.PortableInterceptor.ServerRequestInterceptorOperations

public class FTCPRServerRequestInterceptor
extends org.omg.CORBA.LocalObject
implements org.omg.PortableInterceptor.ServerRequestInterceptor

Class instantiated when cold passive replication is used and the corresponding profile is given It intercepts incoming requests sent to the cold passively replicated group member

See Also:
Serialized Form

Field Summary
(package private)  SynchObject backup_synch
           
(package private)  org.omg.IOP.Codec codec
           
(package private)  org.omg.IOP.CodecFactory factory
           
(package private)  java.lang.Object failed_synch
           
(package private)  java.lang.String ft_dom_name
           
(package private)  int ft_slot
           
(package private)  org.omg.CosNaming.NamingContext ftDomC
           
(package private)  java.lang.Object gr_ref_v_guard
           
(package private)  org.omg.CORBA.Object group_reference
           
(package private)  int group_reference_version
           
(package private)  org.omg.CosNaming.NamingContext hostC
           
(package private)  org.omg.PortableInterceptor.ORBInitInfo info
           
(package private)  java.lang.String location
           
(package private)  LoggingRecoveryController log_rec_ctrl
           
(package private)  org.omg.CORBA.Object logger_o
           
(package private)  SynchObject m_c_s_o
           
(package private)  MethSignStr[] method_table
           
(package private)  boolean object_deactivated
           
(package private)  org.omg.CORBA.ORB orb
           
(package private)  org.omg.CosNaming.NamingContext rootC
           
(package private)  boolean send_exceptions
           
(package private)  java.util.Vector thread_vector
           
(package private)  java.util.Vector thread_vector_w_a
           
 
Constructor Summary
FTCPRServerRequestInterceptor(org.omg.PortableInterceptor.ORBInitInfo inf, int ft_s)
          Constructor
 
Method Summary
private  void atomic_notify_wait_act()
           
 java.lang.String name()
           
 void receive_request_service_contexts(org.omg.PortableInterceptor.ServerRequestInfo ri)
          Method called from a specific interception point, and mainly used to perform operations on method calls which are not allowed to reach the application object (activate_object, deactivate_object, etc.)
 void receive_request(org.omg.PortableInterceptor.ServerRequestInfo ri)
          Method called from a specific interception point when receiving a request, and used to perform operations such as logging on the incoming call
 void send_exception(org.omg.PortableInterceptor.ServerRequestInfo ri)
          Method called from an exception sending interception point on the way of the reply from the server to client
 void send_other(org.omg.PortableInterceptor.ServerRequestInfo ri)
          Method called from a specific interception point (the send other interception point) on the way of the reply from the server to client
 void send_reply(org.omg.PortableInterceptor.ServerRequestInfo ri)
          Method called from a specific reply sending interception point; an operation performed here is mainly the logging of request reply
private  void set_logg_rec_c()
           
private  void set_meth_table()
           
private  void wait_for_activation()
           
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Field Detail

info

org.omg.PortableInterceptor.ORBInitInfo info

ft_slot

int ft_slot

location

java.lang.String location

logger_o

org.omg.CORBA.Object logger_o

log_rec_ctrl

LoggingRecoveryController log_rec_ctrl

orb

org.omg.CORBA.ORB orb

rootC

org.omg.CosNaming.NamingContext rootC

ftDomC

org.omg.CosNaming.NamingContext ftDomC

hostC

org.omg.CosNaming.NamingContext hostC

group_reference_version

int group_reference_version

group_reference

org.omg.CORBA.Object group_reference

m_c_s_o

SynchObject m_c_s_o

backup_synch

SynchObject backup_synch

ft_dom_name

java.lang.String ft_dom_name

send_exceptions

boolean send_exceptions

object_deactivated

boolean object_deactivated

method_table

MethSignStr[] method_table

thread_vector

java.util.Vector thread_vector

thread_vector_w_a

java.util.Vector thread_vector_w_a

failed_synch

java.lang.Object failed_synch

gr_ref_v_guard

java.lang.Object gr_ref_v_guard

factory

org.omg.IOP.CodecFactory factory

codec

org.omg.IOP.Codec codec
Constructor Detail

FTCPRServerRequestInterceptor

public FTCPRServerRequestInterceptor(org.omg.PortableInterceptor.ORBInitInfo inf,
                                     int ft_s)
Constructor
Parameters:
inf - the ORB info used e.g. to obtain the instance of the ORB on which the CORBA object is running ft_s the slot of this interceptor
Method Detail

set_meth_table

private void set_meth_table()

wait_for_activation

private void wait_for_activation()

atomic_notify_wait_act

private void atomic_notify_wait_act()

set_logg_rec_c

private void set_logg_rec_c()

receive_request_service_contexts

public void receive_request_service_contexts(org.omg.PortableInterceptor.ServerRequestInfo ri)
                                      throws org.omg.PortableInterceptor.ForwardRequest
Method called from a specific interception point, and mainly used to perform operations on method calls which are not allowed to reach the application object (activate_object, deactivate_object, etc.)
Specified by:
receive_request_service_contexts in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
Parameters:
ri - the server request information

receive_request

public void receive_request(org.omg.PortableInterceptor.ServerRequestInfo ri)
                     throws org.omg.PortableInterceptor.ForwardRequest
Method called from a specific interception point when receiving a request, and used to perform operations such as logging on the incoming call
Specified by:
receive_request in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
Parameters:
ri - the server request information

send_reply

public void send_reply(org.omg.PortableInterceptor.ServerRequestInfo ri)
Method called from a specific reply sending interception point; an operation performed here is mainly the logging of request reply
Specified by:
send_reply in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
Parameters:
ri - the server request information

send_exception

public void send_exception(org.omg.PortableInterceptor.ServerRequestInfo ri)
                    throws org.omg.PortableInterceptor.ForwardRequest
Method called from an exception sending interception point on the way of the reply from the server to client
Specified by:
send_exception in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
Parameters:
ri - the server request information

send_other

public void send_other(org.omg.PortableInterceptor.ServerRequestInfo ri)
                throws org.omg.PortableInterceptor.ForwardRequest
Method called from a specific interception point (the send other interception point) on the way of the reply from the server to client
Specified by:
send_other in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
Parameters:
ri - the server request information

name

public java.lang.String name()
Specified by:
name in interface org.omg.PortableInterceptor.InterceptorOperations