Class BufferedTextInput

  extended by net.sf.asyncobjects.AsyncUnicastServer<I>
      extended by<TextData,ATextInput>
          extended by
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
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 BufferedTextInput(ATextInput 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.