public class DynAny extends LocalObject implements DynAny
| Modifier and Type | Field and Description |
|---|---|
protected DynAnyFactory |
dynFactory |
protected int |
limit |
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() |
char |
get_char() |
double |
get_double() |
DynAny |
get_dyn_any() |
float |
get_float() |
int |
get_long() |
long |
get_longlong() |
byte |
get_octet() |
Object |
get_reference() |
short |
get_short() |
java.lang.String |
get_string() |
TypeCode |
get_typecode() |
int |
get_ulong() |
long |
get_ulonglong() |
short |
get_ushort() |
java.io.Serializable |
get_val() |
char |
get_wchar() |
java.lang.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(boolean value) |
void |
insert_char(char value) |
void |
insert_double(double value) |
void |
insert_dyn_any(DynAny value) |
void |
insert_float(float value) |
void |
insert_long(int value) |
void |
insert_longlong(long value) |
void |
insert_octet(byte value) |
void |
insert_reference(Object value) |
void |
insert_short(short value) |
void |
insert_string(java.lang.String value) |
void |
insert_typecode(TypeCode value) |
void |
insert_ulong(int value) |
void |
insert_ulonglong(long value) |
void |
insert_ushort(short value) |
void |
insert_val(java.io.Serializable value) |
void |
insert_wchar(char value) |
void |
insert_wstring(java.lang.String value) |
boolean |
next() |
void |
rewind() |
boolean |
seek(int index) |
Any |
to_any() |
TypeCode |
type() |
protected INTERNAL |
unexpectedException(java.lang.Exception cause) |
_create_request, _create_request, _duplicate, _get_component, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _ids, _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_component, _get_domain_managers, _get_interface_def, _get_interface, _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 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(java.lang.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(java.lang.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 java.lang.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_ulonglong()
throws TypeMismatch
get_ulonglong in interface DynAnyOperationsTypeMismatchpublic char get_wchar()
throws TypeMismatch
get_wchar in interface DynAnyOperationsTypeMismatchpublic java.lang.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(java.io.Serializable value)
public java.io.Serializable get_val()
protected final INTERNAL unexpectedException(java.lang.Exception cause)