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

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/tomek/workspace/openjdk-orb/src/share/classes/org/omg/PortableServer/poa.idl
* Thursday, June 22, 2023 7:19:19 PM CEST
*/


/**
	 * 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 ();
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy