|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ericsson.otp.erlang.AbstractNode com.ericsson.otp.erlang.OtpPeer
public class OtpPeer
Represents a remote OTP node. It acts only as a container for the nodename
and other node-specific information that is needed by the
OtpConnection
class.
Constructor Summary | |
---|---|
OtpPeer(java.lang.String node)
Create a peer node. |
Method Summary | |
---|---|
OtpConnection |
connect(OtpSelf self)
Deprecated. Use the corresponding method in OtpSelf instead. |
Methods inherited from class com.ericsson.otp.erlang.AbstractNode |
---|
alive, cookie, host, node, setCookie, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OtpPeer(java.lang.String node)
node
- the name of the node.Method Detail |
---|
@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.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |