net.sf.asyncobjects.io
Class BufferedTextInput

java.lang.Object
  extended by net.sf.asyncobjects.AsyncUnicastServer<I>
      extended by net.sf.asyncobjects.io.BufferedInput<TextData,ATextInput>
          extended by net.sf.asyncobjects.io.BufferedTextInput
All Implemented Interfaces:
ACloseable, AsyncObject, ExplicitSharing, AInput<TextData>, ATextInput

public class BufferedTextInput
extends BufferedInput<TextData,ATextInput>
implements ATextInput

A buffered Text input stream.


Constructor Summary
BufferedTextInput(ATextInput 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

BufferedTextInput

public BufferedTextInput(ATextInput 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.