public final class LocalServerRequest extends AbstractServerRequest
OBJECT_HERE, STATE_COMPLETE, STATE_CREATED, STATE_FIND_ADAPTER, STATE_PROCESSING, STATE_QUEUED, STATE_REPLY, UNKNOWN_OBJECT| Constructor and Description |
|---|
LocalServerRequest(ServerManager serverManager,
int request_id,
org.omg.CORBA.portable.InputStream argument_stream,
byte[] object_id,
java.lang.String operation,
byte sync_scope,
org.omg.IOP.ServiceContext[] request_service_contexts)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.omg.CORBA.portable.OutputStream |
begin_marshal_reply()
Create a stream for marshaling a successful response.
|
protected org.omg.CORBA.portable.OutputStream |
begin_marshal_user_exception()
Create a stream for marshaling a user exception response.
|
protected void |
complete_reply(org.omg.CORBA.portable.OutputStream os)
Complete the marshaling process.
|
org.omg.CORBA.portable.OutputStream |
getReplyStream()
Returns the ReplyStream of this request
|
boolean |
is_reply_exception()
I removed all the additional marshalling parameters
for exception and I kept only the effective arguments
|
protected void |
marshal_forward_request(org.omg.CORBA.Object target,
boolean permanent)
Send a forward request result.
|
protected void |
marshal_locate_reply(boolean object_is_here)
Reply to a locate request.
|
protected void |
marshal_system_exception(java.lang.String repo_id,
org.omg.CORBA.SystemException ex)
Send a system exception result.
|
protected void |
release_request()
Release any resources associated with the request.
|
adapter_id, adapter, adapter, add_reply_service_context, argument_stream, arguments, begin_request, channel, client_cancel, contexts, createExceptionReply, createReply, disableServiceContextExceptions, dispatch, enableServiceContextExceptions, equals, exceptions, forward_reference_ior, forward_reference, get_reply_service_context, get_reply_service_contexts, get_request_service_context, get_server_policy, get_slot, getLogger, hashCode, init, init, is_locate, object_id, object_key, operation_context, operation, orb, reply_status, request_id, response_expected, result, sending_exception, sending_system_exception_id, sending_system_exception, server_cancel, set_slot, state_completion_status, state, sync_scope, target_is_a, target_most_derived_interface, toString_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_connectionpublic LocalServerRequest(ServerManager serverManager, int request_id, org.omg.CORBA.portable.InputStream argument_stream, byte[] object_id, java.lang.String operation, byte sync_scope, org.omg.IOP.ServiceContext[] request_service_contexts)
serverManager - The server manager associated with this request.request_id - The request id of this request.argument_stream - the argument stream that will be given to the serverobject_id - The object id of this request.operation - The name of the operation to execute.sync_scope - The synchronization scope (See Messaging spec.)request_service_contexts - An array of service contexts. associated
with this request.protected org.omg.CORBA.portable.OutputStream begin_marshal_reply()
begin_marshal_reply in class AbstractServerRequestpublic org.omg.CORBA.portable.OutputStream getReplyStream()
public boolean is_reply_exception()
protected org.omg.CORBA.portable.OutputStream begin_marshal_user_exception()
begin_marshal_user_exception in class AbstractServerRequestprotected void complete_reply(org.omg.CORBA.portable.OutputStream os)
complete_reply in class AbstractServerRequestprotected void marshal_forward_request(org.omg.CORBA.Object target,
boolean permanent)
marshal_forward_request in class AbstractServerRequestprotected void marshal_locate_reply(boolean object_is_here)
marshal_locate_reply in class AbstractServerRequestprotected void marshal_system_exception(java.lang.String repo_id,
org.omg.CORBA.SystemException ex)
marshal_system_exception in class AbstractServerRequestprotected void release_request()
release_request in class AbstractServerRequest