Oracle® Coherence Java API Reference
v3.5

E14977-01

com.tangosol.net.security
Class ClusterEncryptionFilter.MultiplexingOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.tangosol.io.WrapperOutputStream
          extended by com.tangosol.net.security.ClusterEncryptionFilter.MultiplexingOutputStream
All Implemented Interfaces:
OutputStreaming, java.io.Closeable, java.io.Flushable
Enclosing class:
ClusterEncryptionFilter

public class ClusterEncryptionFilter.MultiplexingOutputStream
extends WrapperOutputStream

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


Field Summary
protected  java.io.OutputStream m_streamInner
          The wrapped stream
 
Fields inherited from class com.tangosol.io.WrapperOutputStream
m_out
 
Constructor Summary
ClusterEncryptionFilter.MultiplexingOutputStream(java.io.OutputStream stream)
          Construct a MultiplexingOutputStream.
 
Method Summary
 void setProtocolContext(ProtocolContext context)
          Set the current protocol context.
 
Methods inherited from class com.tangosol.io.WrapperOutputStream
close, ensureOutputStream, flush, getOutputStream, setOutputStream, write, write, write
 

Field Detail

m_streamInner

protected java.io.OutputStream m_streamInner
The wrapped stream

Constructor Detail

ClusterEncryptionFilter.MultiplexingOutputStream

public ClusterEncryptionFilter.MultiplexingOutputStream(java.io.OutputStream stream)
Construct a MultiplexingOutputStream.

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.

Oracle® Coherence Java API Reference
v3.5

E14977-01

Copyright © 2000, 2009, Oracle. All rights reserved.