net.sf.asyncobjects.io.util
Class RepeatingTextInput

java.lang.Object
  extended by net.sf.asyncobjects.AsyncUnicastServer<I>
      extended by net.sf.asyncobjects.io.util.GeneratingInput<D,I>
          extended by net.sf.asyncobjects.io.util.RepeatingInput<TextData,ATextInput>
              extended by net.sf.asyncobjects.io.util.RepeatingTextInput
All Implemented Interfaces:
ACloseable, AsyncObject, ExplicitSharing, AInput<TextData>, ATextInput

public class RepeatingTextInput
extends RepeatingInput<TextData,ATextInput>
implements ATextInput

A repeating text input.

Author:
const

Field Summary
 
Fields inherited from class net.sf.asyncobjects.io.util.GeneratingInput
UNLIMITED
 
Constructor Summary
RepeatingTextInput(TextData repeatedData)
          A consructor
RepeatingTextInput(TextData repeatedData, long toGenerate)
          A consructor
 
Method Summary
 
Methods inherited from class net.sf.asyncobjects.io.util.RepeatingInput
generate
 
Methods inherited from class net.sf.asyncobjects.io.util.GeneratingInput
close, generated, isPushbackSupported, pushback, read
 
Methods inherited from class net.sf.asyncobjects.AsyncUnicastServer
dereference, export, isImmediate, myVat, promise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.asyncobjects.io.AInput
isPushbackSupported, pushback, read
 
Methods inherited from interface net.sf.asyncobjects.ACloseable
close
 
Methods inherited from interface net.sf.asyncobjects.AsyncObject
dereference, isImmediate
 

Constructor Detail

RepeatingTextInput

public RepeatingTextInput(TextData repeatedData,
                          long toGenerate)
A consructor

Parameters:
repeatedData - a data to repeat (must not be null)
toGenerate - amount element to generate

RepeatingTextInput

public RepeatingTextInput(TextData repeatedData)
A consructor

Parameters:
repeatedData - a data to repeat (must not be null)


Copyright © 2002-2007 Constantine Plotnikov. All Rights Reserved.