Uses of Class org.apache.hadoop.hdfs.protocol.datatransfer.IOStreamPair (Apache Hadoop HDFS Client 3.5.0 API)
Description: use: package: org.apache.hadoop.hdfs.protocol.datatransfer, class: IOStreamPair

# Uses of Class
org.apache.hadoop.hdfs.protocol.datatransfer.IOStreamPair

Packages that use IOStreamPair
Package
Description
org.apache.hadoop.hdfs
org.apache.hadoop.hdfs.net
org.apache.hadoop.hdfs.protocol.datatransfer.sasl

- ## Uses of IOStreamPair in org.apache.hadoop.hdfs

  Methods in org.apache.hadoop.hdfs that return IOStreamPair
  Modifier and Type
  Method
  Description
  `protected IOStreamPair`
  DFSClient.`connectToDN(DatanodeInfo dn, int timeout, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken)`
  `static IOStreamPair`
  DFSUtilClient.`connectToDN(DatanodeInfo dn, int timeout, org.apache.hadoop.conf.Configuration conf, SaslDataTransferClient saslClient, SocketFactory socketFactory, boolean connectToDnViaHostname, DataEncryptionKeyFactory dekFactory, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> blockToken)`
  Connect to the given datanode's datantrasfer port, and return the resulting IOStreamPair.

- ## Uses of IOStreamPair in org.apache.hadoop.hdfs.net

  Constructors in org.apache.hadoop.hdfs.net with parameters of type IOStreamPair
  Modifier
  Constructor
  Description
  ``
  `EncryptedPeer(Peer enclosedPeer, IOStreamPair ios)`

- ## Uses of IOStreamPair in org.apache.hadoop.hdfs.protocol.datatransfer.sasl

  Methods in org.apache.hadoop.hdfs.protocol.datatransfer.sasl that return IOStreamPair
  Modifier and Type
  Method
  Description
  `static IOStreamPair`
  DataTransferSaslUtil.`createStreamPair(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.crypto.CipherOption cipherOption, OutputStream out, InputStream in, boolean isServer)`
  Create IOStreamPair of `CryptoInputStream` and `CryptoOutputStream`
  `IOStreamPair`
  SaslDataTransferClient.`newSocketSend(Socket socket, OutputStream underlyingOut, InputStream underlyingIn, DataEncryptionKeyFactory encryptionKeyFactory, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> accessToken, DatanodeID datanodeId)`
  Sends client SASL negotiation for a newly allocated socket if required.
  `IOStreamPair`
  SaslDataTransferClient.`socketSend(Socket socket, OutputStream underlyingOut, InputStream underlyingIn, DataEncryptionKeyFactory encryptionKeyFactory, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> accessToken, DatanodeID datanodeId)`
  Sends client SASL negotiation for a socket if required.
  `IOStreamPair`
  SaslDataTransferClient.`socketSend(Socket socket, OutputStream underlyingOut, InputStream underlyingIn, DataEncryptionKeyFactory encryptionKeyFactory, org.apache.hadoop.security.token.Token<BlockTokenIdentifier> accessToken, DatanodeID datanodeId, SecretKey secretKey)`