org.apache.cassandra.security.streaming
Class SSLIncomingStreamReader
java.lang.Object
org.apache.cassandra.streaming.IncomingStreamReader
org.apache.cassandra.security.streaming.SSLIncomingStreamReader
public class SSLIncomingStreamReader
- extends IncomingStreamReader
This class uses a DataInputStream to read data as opposed to a FileChannel.transferFrom
used by IncomingStreamReader because the underlying SSLServerSocket doesn't support
encrypting over NIO SocketChannel.
Method Summary |
protected long |
readnwrite(long length,
long bytesRead,
long offset,
java.nio.channels.FileChannel fc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLIncomingStreamReader
public SSLIncomingStreamReader(StreamHeader header,
java.net.Socket socket,
java.io.DataInputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
readnwrite
protected long readnwrite(long length,
long bytesRead,
long offset,
java.nio.channels.FileChannel fc)
throws java.io.IOException
- Overrides:
readnwrite
in class IncomingStreamReader
- Throws:
java.io.IOException
Copyright © 2011 The Apache Software Foundation