public class DynAny extends LocalObject implements DynAny
Modifier and Type | Field and Description |
---|---|
protected Any |
anyRepresentation
our representation of a primitive type any is the any itself
|
protected DynAnyFactory |
dynFactory |
protected int |
limit |
protected org.slf4j.Logger |
logger |
protected ORB |
orb |
protected int |
pos |
protected TypeCode |
typeCode |
Modifier | Constructor and Description |
---|---|
protected |
DynAny(DynAnyFactory factory,
ORB orb,
org.slf4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
void |
assign(DynAny dyn_any) |
protected void |
checkDestroyed() |
int |
component_count() |
DynAny |
copy() |
DynAny |
current_component() |
void |
destroy() |
boolean |
equal(DynAny dyn_any) |
void |
from_any(Any value) |
Any |
get_any() |
boolean[] |
get_boolean_seq() |
boolean |
get_boolean() |
char[] |
get_char_seq() |
char |
get_char() |
double[] |
get_double_seq() |
double |
get_double() |
DynAny |
get_dyn_any() |
float[] |
get_float_seq() |
float |
get_float() |
int[] |
get_long_seq() |
int |
get_long() |
double[] |
get_longdouble_seq() |
double |
get_longdouble() |
long[] |
get_longlong_seq() |
long |
get_longlong() |
byte[] |
get_octet_seq() |
byte |
get_octet() |
Object |
get_reference() |
short[] |
get_short_seq() |
short |
get_short() |
String |
get_string() |
TypeCode |
get_typecode() |
int[] |
get_ulong_seq() |
int |
get_ulong() |
long[] |
get_ulonglong_seq() |
long |
get_ulonglong() |
short[] |
get_ushort_seq() |
short |
get_ushort() |
Serializable |
get_val() |
char[] |
get_wchar_seq() |
char |
get_wchar() |
String |
get_wstring() |
protected Any |
getRepresentation()
returns the DynAny's internal any representation,
overwritten in subclasses that represent constructed
types and need to traverse structures.
|
void |
insert_any(Any value) |
void |
insert_boolean_seq(boolean[] value) |
void |
insert_boolean(boolean value) |
void |
insert_char_seq(char[] value) |
void |
insert_char(char value) |
void |
insert_double_seq(double[] value) |
void |
insert_double(double value) |
void |
insert_dyn_any(DynAny value) |
void |
insert_float_seq(float[] value) |
void |
insert_float(float value) |
void |
insert_long_seq(int[] value) |
void |
insert_long(int value) |
void |
insert_longdouble_seq(double[] value) |
void |
insert_longdouble(double value) |
void |
insert_longlong_seq(long[] value) |
void |
insert_longlong(long value) |
void |
insert_octet_seq(byte[] value) |
void |
insert_octet(byte value) |
void |
insert_reference(Object value) |
void |
insert_short_seq(short[] value) |
void |
insert_short(short value) |
void |
insert_string(String value) |
void |
insert_typecode(TypeCode value) |
void |
insert_ulong_seq(int[] value) |
void |
insert_ulong(int value) |
void |
insert_ulonglong_seq(long[] value) |
void |
insert_ulonglong(long value) |
void |
insert_ushort_seq(short[] value) |
void |
insert_ushort(short value) |
void |
insert_val(Serializable value) |
void |
insert_wchar_seq(char[] value) |
void |
insert_wchar(char value) |
void |
insert_wstring(String value) |
boolean |
next() |
void |
rewind() |
boolean |
seek(int index) |
Any |
to_any() |
TypeCode |
type() |
protected INTERNAL |
unexpectedException(Exception cause) |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
protected TypeCode typeCode
protected int pos
protected int limit
protected final DynAnyFactory dynFactory
protected final ORB orb
protected final org.slf4j.Logger logger
protected Any anyRepresentation
protected DynAny(DynAnyFactory factory, ORB orb, org.slf4j.Logger logger)
public TypeCode type()
type
in interface DynAnyOperations
public void assign(DynAny dyn_any) throws TypeMismatch
assign
in interface DynAnyOperations
TypeMismatch
public boolean equal(DynAny dyn_any)
equal
in interface DynAnyOperations
public void from_any(Any value) throws InvalidValue, TypeMismatch
from_any
in interface DynAnyOperations
InvalidValue
TypeMismatch
public Any to_any()
to_any
in interface DynAnyOperations
public void destroy()
destroy
in interface DynAnyOperations
public DynAny copy()
copy
in interface DynAnyOperations
protected Any getRepresentation()
public void insert_boolean(boolean value) throws TypeMismatch
insert_boolean
in interface DynAnyOperations
TypeMismatch
public void insert_octet(byte value) throws TypeMismatch
insert_octet
in interface DynAnyOperations
TypeMismatch
public void insert_char(char value) throws TypeMismatch
insert_char
in interface DynAnyOperations
TypeMismatch
public void insert_short(short value) throws TypeMismatch
insert_short
in interface DynAnyOperations
TypeMismatch
public void insert_ushort(short value) throws TypeMismatch
insert_ushort
in interface DynAnyOperations
TypeMismatch
public void insert_long(int value) throws TypeMismatch
insert_long
in interface DynAnyOperations
TypeMismatch
public void insert_ulong(int value) throws TypeMismatch
insert_ulong
in interface DynAnyOperations
TypeMismatch
public void insert_float(float value) throws TypeMismatch
insert_float
in interface DynAnyOperations
TypeMismatch
public void insert_double(double value) throws TypeMismatch
insert_double
in interface DynAnyOperations
TypeMismatch
public void insert_string(String value) throws TypeMismatch
insert_string
in interface DynAnyOperations
TypeMismatch
public void insert_reference(Object value) throws TypeMismatch
insert_reference
in interface DynAnyOperations
TypeMismatch
public void insert_typecode(TypeCode value) throws TypeMismatch
insert_typecode
in interface DynAnyOperations
TypeMismatch
public void insert_longlong(long value) throws TypeMismatch
insert_longlong
in interface DynAnyOperations
TypeMismatch
public void insert_ulonglong(long value) throws TypeMismatch
insert_ulonglong
in interface DynAnyOperations
TypeMismatch
public void insert_wchar(char value) throws TypeMismatch
insert_wchar
in interface DynAnyOperations
TypeMismatch
public void insert_wstring(String value) throws TypeMismatch
insert_wstring
in interface DynAnyOperations
TypeMismatch
public void insert_any(Any value) throws TypeMismatch
insert_any
in interface DynAnyOperations
TypeMismatch
public void insert_dyn_any(DynAny value) throws TypeMismatch
insert_dyn_any
in interface DynAnyOperations
TypeMismatch
public boolean get_boolean() throws TypeMismatch
get_boolean
in interface DynAnyOperations
TypeMismatch
public byte get_octet() throws TypeMismatch
get_octet
in interface DynAnyOperations
TypeMismatch
public char get_char() throws TypeMismatch
get_char
in interface DynAnyOperations
TypeMismatch
public short get_short() throws TypeMismatch
get_short
in interface DynAnyOperations
TypeMismatch
public short get_ushort() throws TypeMismatch
get_ushort
in interface DynAnyOperations
TypeMismatch
public int get_long() throws TypeMismatch
get_long
in interface DynAnyOperations
TypeMismatch
public int get_ulong() throws TypeMismatch
get_ulong
in interface DynAnyOperations
TypeMismatch
public float get_float() throws TypeMismatch
get_float
in interface DynAnyOperations
TypeMismatch
public double get_double() throws TypeMismatch
get_double
in interface DynAnyOperations
TypeMismatch
public String get_string() throws TypeMismatch
get_string
in interface DynAnyOperations
TypeMismatch
public Object get_reference() throws TypeMismatch
get_reference
in interface DynAnyOperations
TypeMismatch
public TypeCode get_typecode() throws TypeMismatch
get_typecode
in interface DynAnyOperations
TypeMismatch
public long get_longlong() throws TypeMismatch
get_longlong
in interface DynAnyOperations
TypeMismatch
public long[] get_longlong_seq() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public long[] get_ulonglong_seq() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public double[] get_longdouble_seq() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public double[] get_double_seq() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public long get_ulonglong() throws TypeMismatch
get_ulonglong
in interface DynAnyOperations
TypeMismatch
public char get_wchar() throws TypeMismatch
get_wchar
in interface DynAnyOperations
TypeMismatch
public char[] get_wchar_seq() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public String get_wstring() throws TypeMismatch
get_wstring
in interface DynAnyOperations
TypeMismatch
public Any get_any() throws TypeMismatch
get_any
in interface DynAnyOperations
TypeMismatch
public DynAny get_dyn_any() throws TypeMismatch
get_dyn_any
in interface DynAnyOperations
TypeMismatch
public int component_count()
component_count
in interface DynAnyOperations
public DynAny current_component() throws TypeMismatch
current_component
in interface DynAnyOperations
TypeMismatch
public boolean next()
next
in interface DynAnyOperations
public boolean seek(int index)
seek
in interface DynAnyOperations
public void rewind()
rewind
in interface DynAnyOperations
protected void checkDestroyed()
public void insert_val(Serializable value)
insert_val
in interface DynAnyOperations
public Serializable get_val()
get_val
in interface DynAnyOperations
public boolean[] get_boolean_seq() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public char[] get_char_seq() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public float[] get_float_seq() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public int[] get_long_seq() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public double get_longdouble() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public byte[] get_octet_seq() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public short[] get_short_seq() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public int[] get_ulong_seq() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public short[] get_ushort_seq() throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_boolean_seq(boolean[] value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_char_seq(char[] value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_double_seq(double[] value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_float_seq(float[] value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_long_seq(int[] value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_longdouble(double value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_longdouble_seq(double[] value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_longlong_seq(long[] value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_octet_seq(byte[] value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_short_seq(short[] value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_ulong_seq(int[] value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_ulonglong_seq(long[] value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_ushort_seq(short[] value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
public void insert_wchar_seq(char[] value) throws InvalidValue, TypeMismatch
InvalidValue
TypeMismatch
Copyright © 2017 JacORB. All rights reserved.