Class WrapperBufferInput

All Implemented Interfaces:
com.oracle.coherence.common.io.InputStreaming, InputStreaming, ReadBuffer.BufferInput, Closeable, DataInput, AutoCloseable
Direct Known Subclasses:
WrapperBufferInput.VersionAwareBufferInput

public class WrapperBufferInput extends WrapperDataInputStream implements ReadBuffer.BufferInput
This is an imitation BufferInput implementation that provides the BufferInput interface by delegating to an object that implements the DataInput interface. Primarily, this is intended as a base class for building specific-purpose DataInput wrappers.
Author:
jh 2007.11.17
  • Constructor Details

    • WrapperBufferInput

      public WrapperBufferInput(DataInput in)
      Construct a WrapperBufferInput that will read from the specified object implementing the DataInput interface.
      Parameters:
      in - an object implementing DataInput to read from
    • WrapperBufferInput

      public WrapperBufferInput(DataInput in, ClassLoader loader)
      Construct a WrapperBufferInput that will read from the specified object implementing the DataInput interface.
      Parameters:
      in - an object implementing DataInput to read from
      loader - the ClassLoader to use
  • Method Details