Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.omg.CosNotifyChannelAdmin;
Generated from IDL enum "ClientType".

Author(s):
JacORB IDL compiler V 3.5
Version:
generated at 11-Jul-2014 12:35:20
 
 
 public final class ClientType
{
Serial version UID.
	private static final long serialVersionUID = 1L;
	private int value = -1;
	public static final int _ANY_EVENT = 0;
	public static final ClientType ANY_EVENT = new ClientType();
	public static final int _STRUCTURED_EVENT = 1;
	public static final ClientType STRUCTURED_EVENT = new ClientType();
	public static final int _SEQUENCE_EVENT = 2;
	public static final ClientType SEQUENCE_EVENT = new ClientType();
	public int value()
	{
		return ;
	}
	public static ClientType from_int(int value)
	{
		switch (value) {
			case return ;
			defaultthrow new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch () {
			case return "ANY_EVENT";
			case return "STRUCTURED_EVENT";
			case return "SEQUENCE_EVENT";
			defaultthrow new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected ClientType(int i)
	{
		 = i;
	}
Designate replacement object when deserialized from stream. See http://www.omg.org/docs/ptc/02-01-03.htm#Issue4271

	{
		return from_int(value());
	}
New to GrepCode? Check out our FAQ X