net.sf.asyncobjects.io.util
Class SavingByteInput

java.lang.Object
  extended by net.sf.asyncobjects.AsyncUnicastServer<FacetType>
      extended by net.sf.asyncobjects.util.CloseableWrapper<I,I>
          extended by net.sf.asyncobjects.io.util.SavingInput<BinaryData,AByteInput,AByteOutput>
              extended by net.sf.asyncobjects.io.util.SavingByteInput
All Implemented Interfaces:
ACloseable, AsyncObject, ExplicitSharing, AByteInput, AInput<BinaryData>

public class SavingByteInput
extends SavingInput<BinaryData,AByteInput,AByteOutput>
implements AByteInput

A saving byte input

Author:
const

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.asyncobjects.util.CloseableWrapper
CloseableWrapper.InvalidatingWhen<I,R>
 
Field Summary
 
Fields inherited from class net.sf.asyncobjects.util.CloseableWrapper
closeWrapper, requests, wrapped
 
Constructor Summary
SavingByteInput(AByteInput in, boolean closeInput, AByteOutput out)
          A constructor
 
Method Summary
 
Methods inherited from class net.sf.asyncobjects.io.util.SavingInput
allWritten, 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 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

SavingByteInput

public SavingByteInput(AByteInput in,
                       boolean closeInput,
                       AByteOutput out)
A constructor

Parameters:
in - an input
closeInput - if true the input is closed
out - an output


Copyright 2002-2007 Constantine Plotnikov. All Rights Reserved.