net.sf.asyncobjects.io
Class BufferedByteInput

java.lang.Object
  extended by net.sf.asyncobjects.AsyncUnicastServer<I>
      extended by net.sf.asyncobjects.io.BufferedInput<BinaryData,AByteInput>
          extended by net.sf.asyncobjects.io.BufferedByteInput
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 net.sf.asyncobjects.io.BufferedInput
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 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

BufferedByteInput

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

Parameters:
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.