net.sf.asyncobjects.io.util
Class RepeatingByteInput

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<BinaryData,AByteInput>
              extended by net.sf.asyncobjects.io.util.RepeatingByteInput
All Implemented Interfaces:
ACloseable, AsyncObject, ExplicitSharing, AByteInput, AInput<BinaryData>

public class RepeatingByteInput
extends RepeatingInput<BinaryData,AByteInput>
implements AByteInput

A repeating byte input

Author:
const

Field Summary
 
Fields inherited from class net.sf.asyncobjects.io.util.GeneratingInput
UNLIMITED
 
Constructor Summary
RepeatingByteInput(BinaryData repeatedData)
          A consructor
RepeatingByteInput(BinaryData 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

RepeatingByteInput

public RepeatingByteInput(BinaryData repeatedData,
                          long toGenerate)
A consructor

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

RepeatingByteInput

public RepeatingByteInput(BinaryData repeatedData)
A consructor

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


Copyright 2002-2007 Constantine Plotnikov. All Rights Reserved.