All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.omg.PortableInterceptor.ClientRequestInfoHelper Maven / Gradle / Ivy

The newest version!
package org.omg.PortableInterceptor;


/**
* org/omg/PortableInterceptor/ClientRequestInfoHelper.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/tomek/workspace/openjdk-orb/src/share/classes/org/omg/PortableInterceptor/Interceptors.idl
* Wednesday, February 1, 2023 4:15:31 PM CET
*/


/**
   * Request Information, accessible to client-side request interceptors.
   * 

* Some attributes and operations on ClientRequestInfo are * not valid at all interception points. The following table shows the * validity of each attribute or operation. If it is not valid, attempting * to access it will result in a BAD_INV_ORDER being thrown * with a standard minor code of 14. *

* *

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 send_requestsend_pollreceive_replyreceive_exceptionreceive_other
Inherited from RequestInfo:

request_id

yesyesyesyesyes

operation

yesyesyesyesyes

arguments

yes1no yesno no

exceptions

yesno yesyesyes

contexts

yesno yesyesyes

operation_context

yesno yesyesyes

result

no no yesno no

response_expected

yesyesyesyesyes

sync_scope

yesno yesyesyes

reply_status

no no yesyesyes

forward_reference

no no no no yes2 *

get_slot

yesyesyesyesyes

get_request_service_context

yesno yesyesyes

get_reply_service_context

no no yesyesyes
ClientRequestInfo-specific:

target

yesyesyesyesyes

effective_target

yesyesyesyesyes

effective_profile

yesyesyesyesyes

received_exception

no no no yesno

received_exception_id

no no no yesno

get_effective_component

yesno yesyesyes

get_effective_components

yesno yesyesyes

get_request_policy

yesno yesyesyes

add_request_service_context

yesno no no no
* *
    *
  1. When ClientRequestInfo is passed to * send_request, there is an entry in the list for every * argument, whether in, inout, or out. But only the in and inout * arguments will be available.
  2. *
  3. If the reply_status atribute is not * LOCATION_FORWARD, accessing this attribute will * throw BAD_INV_ORDER with a standard minor code of * 14.
  4. *
* * @see ClientRequestInterceptor */ abstract public class ClientRequestInfoHelper { private static String _id = "IDL:omg.org/PortableInterceptor/ClientRequestInfo:1.0"; public static void insert (org.omg.CORBA.Any a, org.omg.PortableInterceptor.ClientRequestInfo that) { org.omg.CORBA.portable.OutputStream out = a.create_output_stream (); a.type (type ()); write (out, that); a.read_value (out.create_input_stream (), type ()); } public static org.omg.PortableInterceptor.ClientRequestInfo extract (org.omg.CORBA.Any a) { return read (a.create_input_stream ()); } private static org.omg.CORBA.TypeCode __typeCode = null; synchronized public static org.omg.CORBA.TypeCode type () { if (__typeCode == null) { __typeCode = org.omg.CORBA.ORB.init ().create_interface_tc (org.omg.PortableInterceptor.ClientRequestInfoHelper.id (), "ClientRequestInfo"); } return __typeCode; } public static String id () { return _id; } public static org.omg.PortableInterceptor.ClientRequestInfo read (org.omg.CORBA.portable.InputStream istream) { throw new org.omg.CORBA.MARSHAL (); } public static void write (org.omg.CORBA.portable.OutputStream ostream, org.omg.PortableInterceptor.ClientRequestInfo value) { throw new org.omg.CORBA.MARSHAL (); } public static org.omg.PortableInterceptor.ClientRequestInfo narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.PortableInterceptor.ClientRequestInfo) return (org.omg.PortableInterceptor.ClientRequestInfo)obj; else throw new org.omg.CORBA.BAD_PARAM (); } public static org.omg.PortableInterceptor.ClientRequestInfo unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.PortableInterceptor.ClientRequestInfo) return (org.omg.PortableInterceptor.ClientRequestInfo)obj; else throw new org.omg.CORBA.BAD_PARAM (); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy