public abstract class AbstractClientRequest extends org.omg.CORBA.LocalObject implements ClientRequest
OBJECT_HERE, STATE_COMPLETE, STATE_CREATED, STATE_MARSHAL, STATE_UNMARSHAL, STATE_WAITING, UNKNOWN_OBJECT| Constructor and Description |
|---|
AbstractClientRequest(int request_id,
org.omg.CORBA.Object target,
Address address,
ClientChannel channel)
Creates new AbstractClientRequest
|
| Modifier and Type | Method and Description |
|---|---|
void |
add_request_service_context(org.omg.IOP.ServiceContext service_context,
boolean replace) |
Address |
address()
Client address
|
org.omg.Dynamic.Parameter[] |
arguments() |
ClientChannel |
channel()
Client channel
|
java.lang.String[] |
contexts() |
org.omg.IOP.TaggedProfile |
effective_profile()
Profile as used in this request.
|
org.omg.IOP.IOR |
effective_target_ior()
Get the effective target IOR.
|
org.omg.CORBA.Object |
effective_target()
Return the effective_target object.
|
boolean |
equals(java.lang.Object obj)
Equality depends on request IDs
|
org.omg.CORBA.TypeCode[] |
exceptions() |
org.omg.IOP.TaggedComponent |
get_effective_component(int id) |
org.omg.IOP.TaggedComponent[] |
get_effective_components(int id) |
org.omg.CORBA.Policy |
get_request_policy(int type) |
org.omg.IOP.ServiceContext |
get_request_service_context(int id) |
org.omg.IOP.ServiceContext[] |
get_request_service_contexts()
Get all request service contexts that have been set.
|
org.omg.CORBA.Any |
get_slot(int id) |
protected Logger |
getLogger() |
int |
hashCode()
Makes sure that equal requests have the same hashCode.
|
java.lang.String[] |
operation_context() |
org.omg.CORBA.ORB |
orb()
ORB associated with the target.
|
int |
request_id()
Request ID.
|
protected boolean |
requestPolicyExists(int type)
Checks to see if the specified request policy exists.
|
org.omg.CORBA.Any |
result() |
org.omg.CORBA.CompletionStatus |
state_completion_status()
This utility function returns the correct completion status to use
in a system exception depending on the current state.
|
org.omg.IOP.IOR |
target_ior()
Get the target IOR.
|
org.omg.CORBA.Object |
target()
Object the request was created with.
|
_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_connectionclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbegin_marshal, cancel, forward_reference_ior, is_locate, is_poll, is_request, poll_response, receive_response, received_exception_id, received_system_exception, send_request, state, wait_for_responsereceived_exceptionpublic AbstractClientRequest(int request_id,
org.omg.CORBA.Object target,
Address address,
ClientChannel channel)
public ClientChannel channel()
channel in interface ClientRequestpublic Address address()
address in interface ClientRequestpublic int request_id()
request_id in interface org.omg.PortableInterceptor.RequestInfoOperationspublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic org.omg.IOP.IOR target_ior()
target_ior in interface ClientRequestpublic org.omg.CORBA.Object target()
target in interface org.omg.PortableInterceptor.ClientRequestInfoOperationspublic org.omg.CORBA.ORB orb()
orb in interface ClientRequestpublic org.omg.IOP.IOR effective_target_ior()
effective_target_ior in interface ClientRequestpublic org.omg.CORBA.Object effective_target()
effective_target in interface org.omg.PortableInterceptor.ClientRequestInfoOperationspublic org.omg.IOP.TaggedProfile effective_profile()
effective_profile in interface org.omg.PortableInterceptor.ClientRequestInfoOperationspublic org.omg.IOP.TaggedComponent get_effective_component(int id)
get_effective_component in interface org.omg.PortableInterceptor.ClientRequestInfoOperationspublic org.omg.IOP.TaggedComponent[] get_effective_components(int id)
get_effective_components in interface org.omg.PortableInterceptor.ClientRequestInfoOperationsprotected boolean requestPolicyExists(int type)
type - the policy typepublic org.omg.CORBA.Policy get_request_policy(int type)
get_request_policy in interface org.omg.PortableInterceptor.ClientRequestInfoOperationspublic org.omg.Dynamic.Parameter[] arguments()
arguments in interface org.omg.PortableInterceptor.RequestInfoOperationspublic org.omg.CORBA.TypeCode[] exceptions()
exceptions in interface org.omg.PortableInterceptor.RequestInfoOperationspublic java.lang.String[] contexts()
contexts in interface org.omg.PortableInterceptor.RequestInfoOperationspublic java.lang.String[] operation_context()
operation_context in interface org.omg.PortableInterceptor.RequestInfoOperationspublic org.omg.CORBA.Any result()
result in interface org.omg.PortableInterceptor.RequestInfoOperationspublic org.omg.CORBA.Any get_slot(int id)
throws org.omg.PortableInterceptor.InvalidSlot
get_slot in interface org.omg.PortableInterceptor.RequestInfoOperationsorg.omg.PortableInterceptor.InvalidSlotpublic void add_request_service_context(org.omg.IOP.ServiceContext service_context,
boolean replace)
add_request_service_context in interface org.omg.PortableInterceptor.ClientRequestInfoOperationspublic org.omg.IOP.ServiceContext get_request_service_context(int id)
get_request_service_context in interface org.omg.PortableInterceptor.RequestInfoOperationspublic org.omg.IOP.ServiceContext[] get_request_service_contexts()
get_request_service_contexts in interface ClientRequestpublic org.omg.CORBA.CompletionStatus state_completion_status()
protected Logger getLogger()