public class InstanceElementIterator extends InstanceElementIteratorPOA implements InstanceElementIterator, AvalonDestroyable
| Modifier and Type | Field and Description |
|---|---|
protected AoSession |
aosObj |
protected long |
cObjPtr |
| Constructor and Description |
|---|
InstanceElementIterator() |
InstanceElementIterator(long cObjPtr) |
| Modifier and Type | Method and Description |
|---|---|
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result) |
org.omg.CORBA.Request |
_create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result,
org.omg.CORBA.ExceptionList exclist,
org.omg.CORBA.ContextList ctxlist) |
org.omg.CORBA.Object |
_duplicate() |
org.omg.CORBA.DomainManager[] |
_get_domain_managers() |
org.omg.CORBA.Policy |
_get_policy(int policy_type) |
int |
_hash(int maximum) |
boolean |
_is_equivalent(org.omg.CORBA.Object other) |
void |
_release() |
org.omg.CORBA.Request |
_request(java.lang.String operation) |
org.omg.CORBA.Object |
_set_policy_override(org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add) |
void |
destroy()
Destroy the iterator and free the associated memory.
|
protected void |
finalize() |
int |
getCount()
Get the total number of elements accessible by the iterator.
|
static org.omg.CORBA.Object |
getInstance(long cObjPtr,
AoSession aosObj) |
long |
lastAccessTime()
Returns the time stamp of the last access in milliseconds.
|
InstanceElement[] |
nextN(int how_many)
Get the next n elements from the sequence.
|
InstanceElement |
nextOne()
Get the next element from the sequence.
|
void |
reset()
Reset the pointer in the element sequence to the first element.
|
void |
touch()
Touches this instance and reset the last access time telling to any other
that this instance is still active, although no method was called.
|
_all_interfaces, _invoke, _this, _this_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_objectprotected long cObjPtr
protected AoSession aosObj
public InstanceElementIterator()
public InstanceElementIterator(long cObjPtr)
public static org.omg.CORBA.Object getInstance(long cObjPtr,
AoSession aosObj)
public void destroy()
throws AoException
destroy in interface AvalonDestroyabledestroy in interface InstanceElementIteratorOperationsAoException - with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic int getCount()
throws AoException
getCount in interface InstanceElementIteratorOperationsAoException - with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic InstanceElement[] nextN(int how_many) throws AoException
nextN in interface InstanceElementIteratorOperationshow_many - The number of requested elements.AoException - with the following possible error codes: AO_BAD_PARAMETER
AO_CONNECTION_LOST AO_IMPLEMENTATION_PROBLEM
AO_NOT_IMPLEMENTED AO_NO_MEMORY AO_SESSION_NOT_ACTIVEpublic InstanceElement nextOne() throws AoException
nextOne in interface InstanceElementIteratorOperationsAoException - with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEpublic void reset()
throws AoException
reset in interface InstanceElementIteratorOperationsAoException - with the following possible error codes: AO_CONNECTION_LOST
AO_IMPLEMENTATION_PROBLEM AO_NOT_IMPLEMENTED AO_NO_MEMORY
AO_SESSION_NOT_ACTIVEprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result)
_create_request in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Request _create_request(org.omg.CORBA.Context ctx,
java.lang.String operation,
org.omg.CORBA.NVList arg_list,
org.omg.CORBA.NamedValue result,
org.omg.CORBA.ExceptionList exclist,
org.omg.CORBA.ContextList ctxlist)
_create_request in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Object _duplicate()
_duplicate in interface org.omg.CORBA.Objectpublic org.omg.CORBA.DomainManager[] _get_domain_managers()
_get_domain_managers in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Policy _get_policy(int policy_type)
_get_policy in interface org.omg.CORBA.Objectpublic int _hash(int maximum)
_hash in interface org.omg.CORBA.Objectpublic boolean _is_equivalent(org.omg.CORBA.Object other)
_is_equivalent in interface org.omg.CORBA.Objectpublic void _release()
_release in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Request _request(java.lang.String operation)
_request in interface org.omg.CORBA.Objectpublic org.omg.CORBA.Object _set_policy_override(org.omg.CORBA.Policy[] policies,
org.omg.CORBA.SetOverrideType set_add)
_set_policy_override in interface org.omg.CORBA.Objectpublic long lastAccessTime()
AvalonDestroyablelastAccessTime in interface AvalonDestroyablepublic void touch()
throws AoException
AvalonDestroyabletouch in interface AvalonDestroyableAoException - if touch fails