org.omg.PortableServer.ThreadPolicyValueHolder Maven / Gradle / Ivy
package org.omg.PortableServer;
/**
* org/omg/PortableServer/ThreadPolicyValueHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /home/jenkins/agent/workspace/orb-release-build/omgapi/src/main/idl/poa.idl
* Sunday, February 14, 2021 7:42:42 PM GMT
*/
/**
* The ThreadPolicyValue can have the following values.
* ORB_CTRL_MODEL - The ORB is responsible for assigning
* requests for an ORB- controlled POA to threads.
* SINGLE_THREAD_MODEL - Requests for a single-threaded
* POA are processed sequentially.
*/
public final class ThreadPolicyValueHolder implements org.omg.CORBA.portable.Streamable
{
public org.omg.PortableServer.ThreadPolicyValue value = null;
public ThreadPolicyValueHolder ()
{
}
public ThreadPolicyValueHolder (org.omg.PortableServer.ThreadPolicyValue initialValue)
{
value = initialValue;
}
public void _read (org.omg.CORBA.portable.InputStream i)
{
value = org.omg.PortableServer.ThreadPolicyValueHelper.read (i);
}
public void _write (org.omg.CORBA.portable.OutputStream o)
{
org.omg.PortableServer.ThreadPolicyValueHelper.write (o, value);
}
public org.omg.CORBA.TypeCode _type ()
{
return org.omg.PortableServer.ThreadPolicyValueHelper.type ();
}
}