Class BufferedByteInput

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

public class BufferedByteInput
extends BufferedInput<BinaryData,AByteInput>
implements AByteInput

A buffered byte input stream.

Constructor Summary
BufferedByteInput(AByteInput proxiedStream, int limit)
          A constructor from the stream
Method Summary
Methods inherited from class
close, 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
isPushbackSupported, pushback, read
Methods inherited from interface net.sf.asyncobjects.ACloseable
Methods inherited from interface net.sf.asyncobjects.AsyncObject
dereference, isImmediate

Constructor Detail


public BufferedByteInput(AByteInput proxiedStream,
                         int limit)
A constructor from the stream

proxiedStream - a stream that is being proxied
limit - a maximum amount of bites to be attempte to read from undelying stream

Copyright 2002-2007 Constantine Plotnikov. All Rights Reserved.