com.ericsson.otp.erlang
public class OtpPeer extends AbstractNode
OtpConnection
class.Constructor and Description |
---|
OtpPeer(java.lang.String node)
Create a peer node.
|
public OtpPeer(java.lang.String node)
node
- the name of the node.@Deprecated public OtpConnection connect(OtpSelf self) throws java.io.IOException, java.net.UnknownHostException, OtpAuthException
OtpSelf
instead.self
- the local node from which you wish to connect.java.net.UnknownHostException
- if the remote host could not be found.java.io.IOException
- if it was not possible to connect to the remote node.OtpAuthException
- if the connection was refused by the remote node.