|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.omg.CORBA.LocalObject
org.openorb.orb.net.AbstractServerRequest
org.openorb.orb.iiop.IIOPServerRequest
public class IIOPServerRequest
This class represents a client request.
| Field Summary |
|---|
| 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 | |
|---|---|
IIOPServerRequest(ServerManager svrmgr,
IIOPServerChannel channel,
int request_id,
byte[] object_id,
org.omg.GIOP.Version version)
Constructor. |
|
IIOPServerRequest(ServerManager svrmgr,
IIOPServerChannel channel,
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,
org.omg.GIOP.Version version)
Constructor. |
|
IIOPServerRequest(ServerManager svrmgr,
IIOPServerChannel channel,
int request_id,
org.omg.CORBA.portable.InputStream argument_stream,
org.omg.GIOP.Version version)
Constructor. |
|
IIOPServerRequest(ServerManager svrmgr,
IIOPServerChannel channel,
int request_id,
org.omg.GIOP.Version version)
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. |
BufferSource |
getRequestSource()
Return the request source member. |
Transport |
getTransport()
Return the underlying transport. |
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. |
void |
setRequestSource(BufferSource request_source)
Set the request source member. |
org.omg.GIOP.Version |
version()
Return the GIOP version. |
| 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 IIOPServerRequest(ServerManager svrmgr,
IIOPServerChannel channel,
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,
org.omg.GIOP.Version version)
svrmgr - The server manager associated with this request.channel - Channel on which this request has been received on.request_id - The request id of this request.argument_stream - ???object_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.version - The GIOP version of this request.
public IIOPServerRequest(ServerManager svrmgr,
IIOPServerChannel channel,
int request_id,
org.omg.CORBA.portable.InputStream argument_stream,
org.omg.GIOP.Version version)
svrmgr - The server manager associated with this request.channel - Channel on which this request has been received on.request_id - The request id of this request.argument_stream - ???version - The GIOP version of this request.
public IIOPServerRequest(ServerManager svrmgr,
IIOPServerChannel channel,
int request_id,
byte[] object_id,
org.omg.GIOP.Version version)
svrmgr - The server manager associated with this request.channel - Channel on which this request has been received on.request_id - The request id of this request.object_id - The object id of this request.version - The GIOP version of this request.
public IIOPServerRequest(ServerManager svrmgr,
IIOPServerChannel channel,
int request_id,
org.omg.GIOP.Version version)
svrmgr - The server manager associated with this request.channel - Channel on which this request has been received on.request_id - The request id of this request.version - The GIOP version of this request.| Method Detail |
|---|
public org.omg.GIOP.Version version()
public void setRequestSource(BufferSource request_source)
request_source - The source buffer of a request.public BufferSource getRequestSource()
public Transport getTransport()
Transport.
protected void marshal_system_exception(java.lang.String repo_id,
org.omg.CORBA.SystemException ex)
marshal_system_exception in class AbstractServerRequest
protected 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 org.omg.CORBA.portable.OutputStream begin_marshal_reply()
begin_marshal_reply in class AbstractServerRequestprotected 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 release_request()
release_request in class AbstractServerRequest
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||