gnu.CORBA.Interceptor

Class gnuClientRequestInfo

Implemented Interfaces:
ClientRequestInfo, ClientRequestInfoOperations, IDLEntity, Object, RequestInfo, RequestInfoOperations, Serializable

public class gnuClientRequestInfo
extends LocalObject
implements ClientRequestInfo

Client request info. All requests on the client side in Classpath implementations are handled via gnuRequest class. This class holds the instance of the gnuRequest, accessing the request info this way.

Field Summary

Any
m_wrapped_exception
Provides possibility to set the wrapped thrown exception explicitly, where applicable.

Constructor Summary

gnuClientRequestInfo(gnuRequest a_request)
Create the info on the given request.

Method Summary

void
add_request_service_context(ServiceContext service_context, boolean replace)
Parameter[]
arguments()
String[]
contexts()
TaggedProfile
effective_profile()
Object
effective_target()
TypeCode[]
exceptions()
Object
forward_reference()
TaggedComponent
get_effective_component(int id)
TaggedComponent[]
get_effective_components(int id)
ServiceContext
get_reply_service_context(int ctx_name)
Policy
get_request_policy(int type)
ServiceContext
get_request_service_context(int ctx_name)
Any
get_slot(int id)
String
operation()
String[]
operation_context()
Any
received_exception()
String
received_exception_id()
short
reply_status()
int
request_id()
boolean
response_expected()
Any
result()
short
sync_scope()
Determines how far the request shall progress before control is returned to the client.
Object
target()

Methods inherited from class org.omg.CORBA.LocalObject

_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _set_policy_override, validate_connection

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

m_wrapped_exception

public Any m_wrapped_exception
Provides possibility to set the wrapped thrown exception explicitly, where applicable.

Constructor Details

gnuClientRequestInfo

public gnuClientRequestInfo(gnuRequest a_request)
Create the info on the given request.

Method Details

add_request_service_context

public void add_request_service_context(ServiceContext service_context,
                                        boolean replace)
Specified by:
add_request_service_context in interface ClientRequestInfoOperations

arguments

public Parameter[] arguments()
Specified by:
arguments in interface RequestInfoOperations

contexts

public String[] contexts()
Specified by:
contexts in interface RequestInfoOperations

effective_profile

public TaggedProfile effective_profile()
Specified by:
effective_profile in interface ClientRequestInfoOperations

effective_target

public Object effective_target()
Specified by:
effective_target in interface ClientRequestInfoOperations

exceptions

public TypeCode[] exceptions()
Specified by:
exceptions in interface RequestInfoOperations

forward_reference

public Object forward_reference()
Specified by:
forward_reference in interface RequestInfoOperations

get_effective_component

public TaggedComponent get_effective_component(int id)
            throws BAD_PARAM
Specified by:
get_effective_component in interface ClientRequestInfoOperations

get_effective_components

public TaggedComponent[] get_effective_components(int id)
            throws BAD_PARAM
Specified by:
get_effective_components in interface ClientRequestInfoOperations

get_reply_service_context

public ServiceContext get_reply_service_context(int ctx_name)
            throws BAD_PARAM
Specified by:
get_reply_service_context in interface RequestInfoOperations

get_request_policy

public Policy get_request_policy(int type)
            throws INV_POLICY
Specified by:
get_request_policy in interface ClientRequestInfoOperations

get_request_service_context

public ServiceContext get_request_service_context(int ctx_name)
            throws BAD_PARAM
Specified by:
get_request_service_context in interface RequestInfoOperations

get_slot

public Any get_slot(int id)
            throws InvalidSlot
Specified by:
get_slot in interface RequestInfoOperations

operation

public String operation()
Specified by:
operation in interface RequestInfoOperations

operation_context

public String[] operation_context()
Specified by:
operation_context in interface RequestInfoOperations

received_exception

public Any received_exception()
Specified by:
received_exception in interface ClientRequestInfoOperations

received_exception_id

public String received_exception_id()
Specified by:
received_exception_id in interface ClientRequestInfoOperations

reply_status

public short reply_status()
Specified by:
reply_status in interface RequestInfoOperations

request_id

public int request_id()
Specified by:
request_id in interface RequestInfoOperations

response_expected

public boolean response_expected()
Specified by:
response_expected in interface RequestInfoOperations

result

public Any result()
Specified by:
result in interface RequestInfoOperations

sync_scope

public short sync_scope()
Determines how far the request shall progress before control is returned to the client. However up till JDK 1.5 inclusive this method always returns SYNC_WITH_TRANSPORT.
Specified by:
sync_scope in interface RequestInfoOperations
Returns:
(1), always.

target

public Object target()
Specified by:
target in interface ClientRequestInfoOperations

gnuClientRequestInfo.java -- Copyright (C) 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.