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_connectionclone, 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_overrideprotected 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 DynAnyOperationspublic void assign(DynAny dyn_any) throws TypeMismatch
assign in interface DynAnyOperationsTypeMismatchpublic boolean equal(DynAny dyn_any)
equal in interface DynAnyOperationspublic void from_any(Any value) throws InvalidValue, TypeMismatch
from_any in interface DynAnyOperationsInvalidValueTypeMismatchpublic Any to_any()
to_any in interface DynAnyOperationspublic void destroy()
destroy in interface DynAnyOperationspublic DynAny copy()
copy in interface DynAnyOperationsprotected Any getRepresentation()
public void insert_boolean(boolean value)
throws TypeMismatch
insert_boolean in interface DynAnyOperationsTypeMismatchpublic void insert_octet(byte value)
throws TypeMismatch
insert_octet in interface DynAnyOperationsTypeMismatchpublic void insert_char(char value)
throws TypeMismatch
insert_char in interface DynAnyOperationsTypeMismatchpublic void insert_short(short value)
throws TypeMismatch
insert_short in interface DynAnyOperationsTypeMismatchpublic void insert_ushort(short value)
throws TypeMismatch
insert_ushort in interface DynAnyOperationsTypeMismatchpublic void insert_long(int value)
throws TypeMismatch
insert_long in interface DynAnyOperationsTypeMismatchpublic void insert_ulong(int value)
throws TypeMismatch
insert_ulong in interface DynAnyOperationsTypeMismatchpublic void insert_float(float value)
throws TypeMismatch
insert_float in interface DynAnyOperationsTypeMismatchpublic void insert_double(double value)
throws TypeMismatch
insert_double in interface DynAnyOperationsTypeMismatchpublic void insert_string(String value) throws TypeMismatch
insert_string in interface DynAnyOperationsTypeMismatchpublic void insert_reference(Object value) throws TypeMismatch
insert_reference in interface DynAnyOperationsTypeMismatchpublic void insert_typecode(TypeCode value) throws TypeMismatch
insert_typecode in interface DynAnyOperationsTypeMismatchpublic void insert_longlong(long value)
throws TypeMismatch
insert_longlong in interface DynAnyOperationsTypeMismatchpublic void insert_ulonglong(long value)
throws TypeMismatch
insert_ulonglong in interface DynAnyOperationsTypeMismatchpublic void insert_wchar(char value)
throws TypeMismatch
insert_wchar in interface DynAnyOperationsTypeMismatchpublic void insert_wstring(String value) throws TypeMismatch
insert_wstring in interface DynAnyOperationsTypeMismatchpublic void insert_any(Any value) throws TypeMismatch
insert_any in interface DynAnyOperationsTypeMismatchpublic void insert_dyn_any(DynAny value) throws TypeMismatch
insert_dyn_any in interface DynAnyOperationsTypeMismatchpublic boolean get_boolean()
throws TypeMismatch
get_boolean in interface DynAnyOperationsTypeMismatchpublic byte get_octet()
throws TypeMismatch
get_octet in interface DynAnyOperationsTypeMismatchpublic char get_char()
throws TypeMismatch
get_char in interface DynAnyOperationsTypeMismatchpublic short get_short()
throws TypeMismatch
get_short in interface DynAnyOperationsTypeMismatchpublic short get_ushort()
throws TypeMismatch
get_ushort in interface DynAnyOperationsTypeMismatchpublic int get_long()
throws TypeMismatch
get_long in interface DynAnyOperationsTypeMismatchpublic int get_ulong()
throws TypeMismatch
get_ulong in interface DynAnyOperationsTypeMismatchpublic float get_float()
throws TypeMismatch
get_float in interface DynAnyOperationsTypeMismatchpublic double get_double()
throws TypeMismatch
get_double in interface DynAnyOperationsTypeMismatchpublic String get_string() throws TypeMismatch
get_string in interface DynAnyOperationsTypeMismatchpublic Object get_reference() throws TypeMismatch
get_reference in interface DynAnyOperationsTypeMismatchpublic TypeCode get_typecode() throws TypeMismatch
get_typecode in interface DynAnyOperationsTypeMismatchpublic long get_longlong()
throws TypeMismatch
get_longlong in interface DynAnyOperationsTypeMismatchpublic long[] get_longlong_seq()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic long[] get_ulonglong_seq()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic double[] get_longdouble_seq()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic double[] get_double_seq()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic long get_ulonglong()
throws TypeMismatch
get_ulonglong in interface DynAnyOperationsTypeMismatchpublic char get_wchar()
throws TypeMismatch
get_wchar in interface DynAnyOperationsTypeMismatchpublic char[] get_wchar_seq()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic String get_wstring() throws TypeMismatch
get_wstring in interface DynAnyOperationsTypeMismatchpublic Any get_any() throws TypeMismatch
get_any in interface DynAnyOperationsTypeMismatchpublic DynAny get_dyn_any() throws TypeMismatch
get_dyn_any in interface DynAnyOperationsTypeMismatchpublic int component_count()
component_count in interface DynAnyOperationspublic DynAny current_component() throws TypeMismatch
current_component in interface DynAnyOperationsTypeMismatchpublic boolean next()
next in interface DynAnyOperationspublic boolean seek(int index)
seek in interface DynAnyOperationspublic void rewind()
rewind in interface DynAnyOperationsprotected void checkDestroyed()
public void insert_val(Serializable value)
insert_val in interface DynAnyOperationspublic Serializable get_val()
get_val in interface DynAnyOperationspublic boolean[] get_boolean_seq()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic char[] get_char_seq()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic float[] get_float_seq()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic int[] get_long_seq()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic double get_longdouble()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic byte[] get_octet_seq()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic short[] get_short_seq()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic int[] get_ulong_seq()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic short[] get_ushort_seq()
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_boolean_seq(boolean[] value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_char_seq(char[] value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_double_seq(double[] value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_float_seq(float[] value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_long_seq(int[] value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_longdouble(double value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_longdouble_seq(double[] value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_longlong_seq(long[] value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_octet_seq(byte[] value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_short_seq(short[] value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_ulong_seq(int[] value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_ulonglong_seq(long[] value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_ushort_seq(short[] value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchpublic void insert_wchar_seq(char[] value)
throws InvalidValue,
TypeMismatch
InvalidValueTypeMismatchCopyright © 2017 JacORB. All rights reserved.