public interface RemotePeerFactory
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hdfs.net.Peer |
newConnectedPeer(InetSocketAddress addr) |
org.apache.hadoop.hdfs.net.Peer newConnectedPeer(InetSocketAddress addr) throws IOException
addr
- The address to connect to.IOException
- If there was an error connecting or creating
the remote socket, encrypted stream, etc.Copyright © 2014 Apache Software Foundation. All Rights Reserved.