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

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

package org.omg.PortableInterceptor;

/**
* org/omg/PortableInterceptor/ServerRequestInfoHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/jenkins/agent/workspace/orb-release-build/omgapi/src/main/idl/Interceptors.idl
* Sunday, February 14, 2021 7:42:42 PM GMT
*/


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

* Some attributes and operations on ServerRequestInfo 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. * *

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Request Information
 receive_request_
service_contexts
receive_requestsend_replysend_exceptionsend_other
Inherited from RequestInfo:
request_idyes yes yes yes yes
operationyes yes yes yes yes
argumentsno yes1yes no2no2 *
exceptionsno yes yes yes yes
contextsno yes yes yes yes
operation_contextno yes yes no no
resultno no yes no no
response_expectedyes yes yes yes yes
sync_scopeyes yes yes yes yes
reply_statusno no yes yes yes
forward_referenceno no no no yes2 *
get_slotyes yes yes yes yes
get_request_service_contextyes no yes yes yes
get_reply_service_contextno no yes yes yes
ServerRequestInfo-specific:
sending_exceptionno no no yes no
object_idno yes yes yes3yes3 *
adapter_idno yes yes yes3yes3 *
server_idno yes yes yes yes
orb_idno yes yes yes yes
adapter_nameno yes yes yes yes
target_most_derived_interfaceno yes no4no4no4 *
get_server_policyyes yes yes yes yes
set_slotyes yes yes yes yes
target_is_ano yes no4no4no4 *
add_reply_service_contextyes yes yes yes yes
*
    *
  1. When ServerRequestInfo is passed to * receive_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 attribute is not * LOCATION_FORWARD, accessing this attribute will throw * BAD_INV_ORDER with a standard minor code of 14.
  4. *
  5. If the servant locator caused a location forward, or thrown an * exception, this attribute/operation may not be available in this * interception point. NO_RESOURCES with a standard minor * code of 1 will be thrown if it is not available.
  6. *
  7. The operation is not available in this interception point because * the necessary information requires access to the target object's * servant, which may no longer be available to the ORB. For example, * if the object's adapter is a POA that uses a * ServantLocator, then the ORB invokes the interception * point after it calls ServantLocator.postinvoke()
  8. *
* * @see ServerRequestInterceptor */ public final class ServerRequestInfoHolder implements org.omg.CORBA.portable.Streamable { public org.omg.PortableInterceptor.ServerRequestInfo value = null; public ServerRequestInfoHolder () { } public ServerRequestInfoHolder (org.omg.PortableInterceptor.ServerRequestInfo initialValue) { value = initialValue; } public void _read (org.omg.CORBA.portable.InputStream i) { value = org.omg.PortableInterceptor.ServerRequestInfoHelper.read (i); } public void _write (org.omg.CORBA.portable.OutputStream o) { org.omg.PortableInterceptor.ServerRequestInfoHelper.write (o, value); } public org.omg.CORBA.TypeCode _type () { return org.omg.PortableInterceptor.ServerRequestInfoHelper.type (); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy