|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omg.CORBA.LocalObject | +--org.openorb.orb.net.AbstractServerRequest | +--org.openorb.orb.net.LocalServerRequest
This class represents a server request for a server that is hosted on the same ORB than the client
Fields inherited from interface org.openorb.orb.net.ServerRequest |
OBJECT_HERE, STATE_COMPLETE, STATE_CREATED, STATE_FIND_ADAPTER, STATE_PROCESSING, STATE_QUEUED, STATE_REPLY, UNKNOWN_OBJECT |
Constructor Summary | |
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. |
Method Summary | |
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. |
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, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Constructor Detail |
public 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.Method Detail |
protected org.omg.CORBA.portable.OutputStream begin_marshal_reply()
begin_marshal_reply
in class AbstractServerRequest
public 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 AbstractServerRequest
protected void complete_reply(org.omg.CORBA.portable.OutputStream os)
complete_reply
in class AbstractServerRequest
protected void marshal_forward_request(org.omg.CORBA.Object target, boolean permanent)
marshal_forward_request
in class AbstractServerRequest
protected void marshal_locate_reply(boolean object_is_here)
marshal_locate_reply
in class AbstractServerRequest
protected void marshal_system_exception(java.lang.String repo_id, org.omg.CORBA.SystemException ex)
marshal_system_exception
in class AbstractServerRequest
protected void release_request()
release_request
in class AbstractServerRequest
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |