|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omg.CORBA.LocalObject | +--universal.ServerInterceptor
This is from this class that everything is going to be done (execution of the request, consensus, sending back of the reply).
Field Summary | |
(package private) org.omg.IOP.Codec |
codec
|
(package private) org.omg.IOP.CodecFactory |
factory
|
(package private) int |
ft_slot
|
(package private) org.omg.PortableInterceptor.ORBInitInfo |
info
|
(package private) java.lang.String |
location
|
(package private) universal.MethSignStr[] |
methSgn
|
(package private) int |
num
Num is the idea for this server of the next position in the total order, the next request should be. |
(package private) int |
number_notify
|
(package private) int |
number_waiting
Number of request that wait to be processed |
(package private) java.lang.Object |
one_by_one
Permit to synchronized on this object in order to treat each request one after another |
(package private) org.openorb.CORBA.ORB |
orb
|
(package private) org.omg.CORBA.ORB |
orb1
|
(package private) universal.OutcomeStore |
store
The variable store contains the outcome (Request, Reply, Update) for requests that have already been processed and that have not yet expired. |
(package private) universal.MethTable |
table
Contains the description of all the methods of the application server. |
(package private) java.io.RandomAccessFile |
trace_file
The file which contains the traces. |
(package private) universal.Universal |
uni
This object permit to access the implementation of the algorithm (Leader election, consensus) |
Fields inherited from class org.omg.CORBA.LocalObject |
|
Constructor Summary | |
ServerInterceptor(org.omg.PortableInterceptor.ORBInitInfo inf,
int t_slot)
|
Method Summary | |
void |
destroy()
|
java.lang.String |
name()
|
void |
receive_request_service_contexts(org.omg.PortableInterceptor.ServerRequestInfo ri)
This is precisely from that method that everything is going to be done. |
void |
receive_request(org.omg.PortableInterceptor.ServerRequestInfo ri)
|
void |
send_exception(org.omg.PortableInterceptor.ServerRequestInfo ri)
|
void |
send_other(org.omg.PortableInterceptor.ServerRequestInfo ri)
|
void |
send_reply(org.omg.PortableInterceptor.ServerRequestInfo ri)
|
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, 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 |
org.omg.PortableInterceptor.ORBInitInfo info
int ft_slot
java.lang.String location
org.omg.CORBA.ORB orb1
org.openorb.CORBA.ORB orb
universal.Universal uni
org.omg.IOP.CodecFactory factory
org.omg.IOP.Codec codec
int num
universal.OutcomeStore store
universal.MethTable table
universal.MethSignStr[] methSgn
java.lang.Object one_by_one
int number_waiting
int number_notify
java.io.RandomAccessFile trace_file
Constructor Detail |
public ServerInterceptor(org.omg.PortableInterceptor.ORBInitInfo inf, int t_slot)
Method Detail |
public void receive_request_service_contexts(org.omg.PortableInterceptor.ServerRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest, org.omg.CORBA.STOP_REQUESTException
receive_request_service_contexts
in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
ri
- the client request
org.omg.PortableInterceptor.ForwardRequest
org.omg.CORBA.STOP_REQUESTException
public void receive_request(org.omg.PortableInterceptor.ServerRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest
receive_request
in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
org.omg.PortableInterceptor.ForwardRequest
public void send_reply(org.omg.PortableInterceptor.ServerRequestInfo ri)
send_reply
in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
public void send_exception(org.omg.PortableInterceptor.ServerRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest
send_exception
in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
org.omg.PortableInterceptor.ForwardRequest
public void send_other(org.omg.PortableInterceptor.ServerRequestInfo ri) throws org.omg.PortableInterceptor.ForwardRequest
send_other
in interface org.omg.PortableInterceptor.ServerRequestInterceptorOperations
org.omg.PortableInterceptor.ForwardRequest
public java.lang.String name()
name
in interface org.omg.PortableInterceptor.InterceptorOperations
public void destroy()
destroy
in interface org.omg.PortableInterceptor.InterceptorOperations
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |