org.omg.PortableInterceptor.ServerRequestInterceptorHolder Maven / Gradle / Ivy
package org.omg.PortableInterceptor;
/**
* org/omg/PortableInterceptor/ServerRequestInterceptorHolder.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
*/
/**
* Server-side request interceptor.
*
* A request Interceptor is designed to intercept the flow of a
* request/reply sequence through the ORB at specific points so that
* services can query the request information and manipulate the service
* contexts which are propagated between clients and servers. The primary
* use of request Interceptors is to enable ORB services to transfer
* context information between clients and servers. There are two types
* of request Interceptors: client-side and server-side.
*
* To write a server-side Interceptor, implement the
* ServerRequestInterceptor interface.
*
* @see ServerRequestInfo
*/
public final class ServerRequestInterceptorHolder implements org.omg.CORBA.portable.Streamable
{
public org.omg.PortableInterceptor.ServerRequestInterceptor value = null;
public ServerRequestInterceptorHolder ()
{
}
public ServerRequestInterceptorHolder (org.omg.PortableInterceptor.ServerRequestInterceptor initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = org.omg.PortableInterceptor.ServerRequestInterceptorHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
org.omg.PortableInterceptor.ServerRequestInterceptorHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return org.omg.PortableInterceptor.ServerRequestInterceptorHelper.type ();
}
}