Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.k_int.IR
Class DefaultSourceEnumeration  view DefaultSourceEnumeration download DefaultSourceEnumeration.java

java.lang.Object
  extended bycom.k_int.IR.DefaultSourceEnumeration
All Implemented Interfaces:
AsynchronousEnumeration, java.util.Enumeration

public class DefaultSourceEnumeration
extends java.lang.Object
implements AsynchronousEnumeration


Field Summary
private  int next_element
           
private  RecordFormatSpecification record_spec
          The record format specification for records produced by this enumeration.
private  InformationFragmentSource source
           
private  int timeout
           
 
Constructor Summary
DefaultSourceEnumeration(InformationFragmentSource source)
           
 
Method Summary
 IRStatusReport getStatus()
           
 boolean hasMoreElements()
          Tests whether there are elements remaining in the enumeration.
 java.lang.Object nextElement()
          Obtain the next element in the enumeration.
 boolean nextIsAvailable()
          We know that there will be a next record in this set, is it available yet?
 void registerNotificationTarget(java.lang.Object o)
          Register an object to be notified when a next object is available
 void setTimeout(int timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

DefaultSourceEnumeration

public DefaultSourceEnumeration(InformationFragmentSource source)
Method Detail

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