CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.net.security
Class ClusterEncryptionFilter.DemultiplexingInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.tangosol.io.WrapperInputStream
          extended by com.tangosol.net.security.ClusterEncryptionFilter.DemultiplexingInputStream
All Implemented Interfaces:
InputStreaming, Closeable
Enclosing class:
ClusterEncryptionFilter

public class ClusterEncryptionFilter.DemultiplexingInputStream
extends WrapperInputStream

WrapperInputStram which chooses the appropriate wrapper based on the protocol context.


Field Summary
protected  InputStream m_streamInner
          The wrapped stream
 
Constructor Summary
ClusterEncryptionFilter.DemultiplexingInputStream(InputStream stream)
          Construct a DemultiplexingInputStream.
 
Method Summary
 void setProtocolContext(ProtocolContext context)
          Set the current protocol context.
 
Methods inherited from class com.tangosol.io.WrapperInputStream
available, close, ensureInputStream, getInputStream, mark, markSupported, read, read, read, reset, setInputStream, skip
 

Field Detail

m_streamInner

protected InputStream m_streamInner
The wrapped stream

Constructor Detail

ClusterEncryptionFilter.DemultiplexingInputStream

public ClusterEncryptionFilter.DemultiplexingInputStream(InputStream stream)
Construct a DemultiplexingInputStream.

Parameters:
stream - the stream to be wrapped
Method Detail

setProtocolContext

public void setProtocolContext(ProtocolContext context)
Set the current protocol context.

Parameters:
context - the current context of the protocol.

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation