org.apache.hadoop.hdfs
Interface RemotePeerFactory


public interface RemotePeerFactory


Method Summary
 org.apache.hadoop.hdfs.net.Peer newConnectedPeer(InetSocketAddress addr)
           
 

Method Detail

newConnectedPeer

org.apache.hadoop.hdfs.net.Peer newConnectedPeer(InetSocketAddress addr)
                                                 throws IOException
Parameters:
addr - The address to connect to.
Returns:
A new Peer connected to the address.
Throws:
IOException - If there was an error connecting or creating the remote socket, encrypted stream, etc.


Copyright © 2014 Apache Software Foundation. All Rights Reserved.