| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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. | |
| OtpPeer(java.lang.String node,
        OtpTransportFactory transportFactory)Create a peer node with custom transport factory. | |
| Method Summary | |
|---|---|
|  OtpConnection | connect(OtpSelf self)Deprecated. Use the corresponding method in OtpSelfinstead. | 
| Methods inherited from class com.ericsson.otp.erlang.AbstractNode | 
|---|
| alive, cookie, createServerTransport, createTransport, createTransport, 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.
public OtpPeer(java.lang.String node,
               OtpTransportFactory transportFactory)
node - the name of the node.transportFactory - custom transport factory| 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 | ||||||||