com.k_int.IR
Class DefaultSourceEnumeration

java.lang.Object
com.k_int.IR.DefaultSourceEnumeration
- All Implemented Interfaces:
- AsynchronousEnumeration, java.util.Enumeration
- public class DefaultSourceEnumeration
- extends java.lang.Object
- implements AsynchronousEnumeration
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
source
private InformationFragmentSource source
next_element
private int next_element
timeout
private int timeout
record_spec
private RecordFormatSpecification record_spec
- The record format specification for records produced by this enumeration.
DefaultSourceEnumeration
public DefaultSourceEnumeration(InformationFragmentSource source)
hasMoreElements
public boolean hasMoreElements()
- Description copied from interface:
java.util.Enumeration
- Tests whether there are elements remaining in the enumeration.
- Specified by:
hasMoreElements in interface java.util.Enumeration
nextElement
public java.lang.Object nextElement()
- Description copied from interface:
java.util.Enumeration
- Obtain the next element in the enumeration.
- Specified by:
nextElement in interface java.util.Enumeration
nextIsAvailable
public boolean nextIsAvailable()
- Description copied from interface:
AsynchronousEnumeration
- We know that there will be a next record in this set, is it available yet?
- Specified by:
nextIsAvailable in interface AsynchronousEnumeration
getStatus
public IRStatusReport getStatus()
- Specified by:
getStatus in interface AsynchronousEnumeration
setTimeout
public void setTimeout(int timeout)
registerNotificationTarget
public void registerNotificationTarget(java.lang.Object o)
- Description copied from interface:
AsynchronousEnumeration
- Register an object to be notified when a next object is available
- Specified by:
registerNotificationTarget in interface AsynchronousEnumeration