Class BoundedByteInput

  extended by net.sf.asyncobjects.AsyncUnicastServer<FacetType>
      extended by net.sf.asyncobjects.util.CloseableWrapper<I,I>
          extended by<BinaryData,AByteInput>
              extended by
All Implemented Interfaces:
ACloseable, AsyncObject, ExplicitSharing, AByteInput, AInput<BinaryData>

public class BoundedByteInput
extends BoundedInput<BinaryData,AByteInput>
implements AByteInput

Bounded byte input.


Nested Class Summary
Nested classes/interfaces inherited from class net.sf.asyncobjects.util.CloseableWrapper
Field Summary
Fields inherited from class net.sf.asyncobjects.util.CloseableWrapper
closeWrapper, requests, wrapped
Constructor Summary
BoundedByteInput(AByteInput in, boolean closeStream, long remainingBytes)
          A constructor
Method Summary
Methods inherited from class
isPushbackSupported, pushback, read
Methods inherited from class net.sf.asyncobjects.util.CloseableWrapper
afterInvalidate, beforeClose, close, closed, ensureOpen, ensureValid, invalidate, isValid
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
isPushbackSupported, pushback, read
Methods inherited from interface net.sf.asyncobjects.ACloseable
Methods inherited from interface net.sf.asyncobjects.AsyncObject
dereference, isImmediate

Constructor Detail


public BoundedByteInput(AByteInput in,
                        boolean closeStream,
                        long remainingBytes)
A constructor

in - an input
closeStream - if true the stream is closed
remainingBytes - amount of remaning bytes

Copyright 2002-2007 Constantine Plotnikov. All Rights Reserved.