Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 1f7d14130c4a2657e0fb5e1ff2b6ea1d > files > 830

erlang-doc-R15B-03.3.fc18.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_09-icedtea) on Sat Mar 02 06:46:25 UTC 2013 -->
<title>AbstractConnection (Java-Erlang Interface Library)</title>
<meta name="date" content="2013-03-02">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="AbstractConnection (Java-Erlang Interface Library)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/ericsson/otp/erlang/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../com/ericsson/otp/erlang/AbstractNode.html" title="class in com.ericsson.otp.erlang"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/ericsson/otp/erlang/AbstractConnection.html" target="_top">Frames</a></li>
<li><a href="AbstractConnection.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_classes_inherited_from_class_java.lang.Thread">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.ericsson.otp.erlang</div>
<h2 title="Class AbstractConnection" class="title">Class AbstractConnection</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.lang.Thread</li>
<li>
<ul class="inheritance">
<li>com.ericsson.otp.erlang.AbstractConnection</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.Runnable</dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../com/ericsson/otp/erlang/OtpConnection.html" title="class in com.ericsson.otp.erlang">OtpConnection</a>, <a href="../../../../com/ericsson/otp/erlang/OtpCookedConnection.html" title="class in com.ericsson.otp.erlang">OtpCookedConnection</a></dd>
</dl>
<hr>
<br>
<pre>public abstract class <span class="strong">AbstractConnection</span>
extends java.lang.Thread</pre>
<div class="block">Maintains a connection between a Java process and a remote Erlang, Java or C
 node. The object maintains connection state and allows data to be sent to and
 received from the peer.
 
 <p>
 This abstract class provides the neccesary methods to maintain the actual
 connection and encode the messages and headers in the proper format according
 to the Erlang distribution protocol. Subclasses can use these methods to
 provide a more or less transparent communication channel as desired.
 </p>
 
 <p>
 Note that no receive methods are provided. Subclasses must provide methods
 for message delivery, and may implement their own receive methods.
 <p>
 
 <p>
 If an exception occurs in any of the methods in this class, the connection
 will be closed and must be reopened in order to resume communication with the
 peer. This will be indicated to the subclass by passing the exception to its
 delivery() method.
 </p>
 
 <p>
 The System property OtpConnection.trace can be used to change the initial
 trace level setting for all connections. Normally the initial trace level is
 0 and connections are not traced unless <a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#setTraceLevel(int)"><code>setTraceLevel()</code></a> is used to change the setting for a particular connection.
 OtpConnection.trace can be used to turn on tracing by default for all
 connections.
 </p></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!--   -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested_classes_inherited_from_class_java.lang.Thread">
<!--   -->
</a>
<h3>Nested classes/interfaces inherited from class&nbsp;java.lang.Thread</h3>
<code>java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler</code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#ChallengeAck">ChallengeAck</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#ChallengeReply">ChallengeReply</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#ChallengeStatus">ChallengeStatus</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#connected">connected</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#cookieOk">cookieOk</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#ctrlThreshold">ctrlThreshold</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#defaultLevel">defaultLevel</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#exit2Tag">exit2Tag</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#exit2TTTag">exit2TTTag</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#exitTag">exitTag</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#exitTTTag">exitTTTag</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#groupLeaderTag">groupLeaderTag</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#handshakeThreshold">handshakeThreshold</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#headerLen">headerLen</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#linkTag">linkTag</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#passThrough">passThrough</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../com/ericsson/otp/erlang/OtpPeer.html" title="class in com.ericsson.otp.erlang">OtpPeer</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#peer">peer</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static java.util.Random</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#random">random</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#regSendTag">regSendTag</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#regSendTTTag">regSendTTTag</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../com/ericsson/otp/erlang/OtpLocalNode.html" title="class in com.ericsson.otp.erlang">OtpLocalNode</a></code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#self">self</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendCookie">sendCookie</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendTag">sendTag</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendThreshold">sendThreshold</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendTTTag">sendTTTag</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.net.Socket</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#socket">socket</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#traceLevel">traceLevel</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#unlinkTag">unlinkTag</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static byte</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#version">version</a></strong></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_java.lang.Thread">
<!--   -->
</a>
<h3>Fields inherited from class&nbsp;java.lang.Thread</h3>
<code>MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY</code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#AbstractConnection(com.ericsson.otp.erlang.OtpLocalNode, com.ericsson.otp.erlang.OtpPeer)">AbstractConnection</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpLocalNode.html" title="class in com.ericsson.otp.erlang">OtpLocalNode</a>&nbsp;self,
                  <a href="../../../../com/ericsson/otp/erlang/OtpPeer.html" title="class in com.ericsson.otp.erlang">OtpPeer</a>&nbsp;other)</code>
<div class="block">Intiate and open a connection to a remote node.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#AbstractConnection(com.ericsson.otp.erlang.OtpLocalNode, java.net.Socket)">AbstractConnection</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpLocalNode.html" title="class in com.ericsson.otp.erlang">OtpLocalNode</a>&nbsp;self,
                  java.net.Socket&nbsp;s)</code>
<div class="block">Accept an incoming connection from a remote node.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#close()">close</a></strong>()</code>
<div class="block">Close the connection to the remote node.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#deliver(java.lang.Exception)">deliver</a></strong>(java.lang.Exception&nbsp;e)</code>
<div class="block">Deliver communication exceptions to the recipient.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>abstract void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#deliver(com.ericsson.otp.erlang.OtpMsg)">deliver</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpMsg.html" title="class in com.ericsson.otp.erlang">OtpMsg</a>&nbsp;msg)</code>
<div class="block">Deliver messages to the recipient.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#do_send(com.ericsson.otp.erlang.OtpOutputStream)">do_send</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpOutputStream.html" title="class in com.ericsson.otp.erlang">OtpOutputStream</a>&nbsp;header)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#do_send(com.ericsson.otp.erlang.OtpOutputStream, com.ericsson.otp.erlang.OtpOutputStream)">do_send</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpOutputStream.html" title="class in com.ericsson.otp.erlang">OtpOutputStream</a>&nbsp;header,
       <a href="../../../../com/ericsson/otp/erlang/OtpOutputStream.html" title="class in com.ericsson.otp.erlang">OtpOutputStream</a>&nbsp;payload)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#doAccept()">doAccept</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#doConnect(int)">doConnect</a></strong>(int&nbsp;port)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#finalize()">finalize</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected static int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#genChallenge()">genChallenge</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#genDigest(int, java.lang.String)">genDigest</a></strong>(int&nbsp;challenge,
         java.lang.String&nbsp;cookie)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#getFlags()">getFlags</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#getTraceLevel()">getTraceLevel</a></strong>()</code>
<div class="block">Get the trace level for this connection.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#headerType(com.ericsson.otp.erlang.OtpErlangObject)">headerType</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a>&nbsp;h)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#isConnected()">isConnected</a></strong>()</code>
<div class="block">Determine if the connection is still alive.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#read2BytePackage()">read2BytePackage</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#readSock(java.net.Socket, byte[])">readSock</a></strong>(java.net.Socket&nbsp;s,
        byte[]&nbsp;b)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#recvChallenge()">recvChallenge</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#recvChallengeAck(int)">recvChallengeAck</a></strong>(int&nbsp;our_challenge)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#recvChallengeReply(int)">recvChallengeReply</a></strong>(int&nbsp;our_challenge)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#recvName(com.ericsson.otp.erlang.OtpPeer)">recvName</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpPeer.html" title="class in com.ericsson.otp.erlang">OtpPeer</a>&nbsp;peer)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#recvStatus()">recvStatus</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#run()">run</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendBuf(com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpOutputStream)">sendBuf</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;from,
       <a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;dest,
       <a href="../../../../com/ericsson/otp/erlang/OtpOutputStream.html" title="class in com.ericsson.otp.erlang">OtpOutputStream</a>&nbsp;payload)</code>
<div class="block">Send a pre-encoded message to a process on a remote node.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendBuf(com.ericsson.otp.erlang.OtpErlangPid, java.lang.String, com.ericsson.otp.erlang.OtpOutputStream)">sendBuf</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;from,
       java.lang.String&nbsp;dest,
       <a href="../../../../com/ericsson/otp/erlang/OtpOutputStream.html" title="class in com.ericsson.otp.erlang">OtpOutputStream</a>&nbsp;payload)</code>
<div class="block">Send a pre-encoded message to a named process on a remote node.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendChallenge(int, int, int)">sendChallenge</a></strong>(int&nbsp;dist,
             int&nbsp;flags,
             int&nbsp;challenge)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendChallengeAck(byte[])">sendChallengeAck</a></strong>(byte[]&nbsp;digest)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendChallengeReply(int, byte[])">sendChallengeReply</a></strong>(int&nbsp;challenge,
                  byte[]&nbsp;digest)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendExit(com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangObject)">sendExit</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;from,
        <a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;dest,
        <a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a>&nbsp;reason)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendExit2(com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangObject)">sendExit2</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;from,
         <a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;dest,
         <a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a>&nbsp;reason)</code>
<div class="block">Send an exit signal to a remote process.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendLink(com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangPid)">sendLink</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;from,
        <a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;dest)</code>
<div class="block">Create a link between the local node and the specified process on the
 remote node.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendName(int, int)">sendName</a></strong>(int&nbsp;dist,
        int&nbsp;flags)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendStatus(java.lang.String)">sendStatus</a></strong>(java.lang.String&nbsp;status)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendUnlink(com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangPid)">sendUnlink</a></strong>(<a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;from,
          <a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;dest)</code>
<div class="block">Remove a link between the local node and the specified process on the
 remote node.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#setFlags(int)">setFlags</a></strong>(int&nbsp;flags)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#setTraceLevel(int)">setTraceLevel</a></strong>(int&nbsp;level)</code>
<div class="block">
 Set the trace level for this connection.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Thread">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Thread</h3>
<code>activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="headerLen">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>headerLen</h4>
<pre>protected static final&nbsp;int headerLen</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.headerLen">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="passThrough">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>passThrough</h4>
<pre>protected static final&nbsp;byte passThrough</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.passThrough">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="version">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>version</h4>
<pre>protected static final&nbsp;byte version</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.version">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="linkTag">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>linkTag</h4>
<pre>protected static final&nbsp;int linkTag</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.linkTag">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="sendTag">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendTag</h4>
<pre>protected static final&nbsp;int sendTag</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.sendTag">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="exitTag">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exitTag</h4>
<pre>protected static final&nbsp;int exitTag</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.exitTag">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="unlinkTag">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unlinkTag</h4>
<pre>protected static final&nbsp;int unlinkTag</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.unlinkTag">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="regSendTag">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>regSendTag</h4>
<pre>protected static final&nbsp;int regSendTag</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.regSendTag">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="groupLeaderTag">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>groupLeaderTag</h4>
<pre>protected static final&nbsp;int groupLeaderTag</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.groupLeaderTag">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="exit2Tag">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exit2Tag</h4>
<pre>protected static final&nbsp;int exit2Tag</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.exit2Tag">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="sendTTTag">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendTTTag</h4>
<pre>protected static final&nbsp;int sendTTTag</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.sendTTTag">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="exitTTTag">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exitTTTag</h4>
<pre>protected static final&nbsp;int exitTTTag</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.exitTTTag">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="regSendTTTag">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>regSendTTTag</h4>
<pre>protected static final&nbsp;int regSendTTTag</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.regSendTTTag">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="exit2TTTag">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>exit2TTTag</h4>
<pre>protected static final&nbsp;int exit2TTTag</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.exit2TTTag">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ChallengeReply">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ChallengeReply</h4>
<pre>protected static final&nbsp;int ChallengeReply</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.ChallengeReply">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ChallengeAck">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ChallengeAck</h4>
<pre>protected static final&nbsp;int ChallengeAck</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.ChallengeAck">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ChallengeStatus">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ChallengeStatus</h4>
<pre>protected static final&nbsp;int ChallengeStatus</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.ericsson.otp.erlang.AbstractConnection.ChallengeStatus">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="connected">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connected</h4>
<pre>protected&nbsp;boolean connected</pre>
</li>
</ul>
<a name="socket">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>socket</h4>
<pre>protected&nbsp;java.net.Socket socket</pre>
</li>
</ul>
<a name="peer">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>peer</h4>
<pre>protected&nbsp;<a href="../../../../com/ericsson/otp/erlang/OtpPeer.html" title="class in com.ericsson.otp.erlang">OtpPeer</a> peer</pre>
</li>
</ul>
<a name="self">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>self</h4>
<pre>protected&nbsp;<a href="../../../../com/ericsson/otp/erlang/OtpLocalNode.html" title="class in com.ericsson.otp.erlang">OtpLocalNode</a> self</pre>
</li>
</ul>
<a name="cookieOk">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cookieOk</h4>
<pre>protected&nbsp;boolean cookieOk</pre>
</li>
</ul>
<a name="sendCookie">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendCookie</h4>
<pre>protected&nbsp;boolean sendCookie</pre>
</li>
</ul>
<a name="traceLevel">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>traceLevel</h4>
<pre>protected&nbsp;int traceLevel</pre>
</li>
</ul>
<a name="defaultLevel">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>defaultLevel</h4>
<pre>protected static&nbsp;int defaultLevel</pre>
</li>
</ul>
<a name="sendThreshold">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendThreshold</h4>
<pre>protected static&nbsp;int sendThreshold</pre>
</li>
</ul>
<a name="ctrlThreshold">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ctrlThreshold</h4>
<pre>protected static&nbsp;int ctrlThreshold</pre>
</li>
</ul>
<a name="handshakeThreshold">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handshakeThreshold</h4>
<pre>protected static&nbsp;int handshakeThreshold</pre>
</li>
</ul>
<a name="random">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>random</h4>
<pre>protected static&nbsp;java.util.Random random</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="AbstractConnection(com.ericsson.otp.erlang.OtpLocalNode, java.net.Socket)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AbstractConnection</h4>
<pre>protected&nbsp;AbstractConnection(<a href="../../../../com/ericsson/otp/erlang/OtpLocalNode.html" title="class in com.ericsson.otp.erlang">OtpLocalNode</a>&nbsp;self,
                  java.net.Socket&nbsp;s)
                      throws java.io.IOException,
                             <a href="../../../../com/ericsson/otp/erlang/OtpAuthException.html" title="class in com.ericsson.otp.erlang">OtpAuthException</a></pre>
<div class="block">Accept an incoming connection from a remote node. Used by <a href="../../../../com/ericsson/otp/erlang/OtpSelf.html#accept()"><code>OtpSelf.accept()</code></a> to create a connection based on data
 received when handshaking with the peer node, when the remote node is the
 connection intitiator.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if it was not possible to connect to the
 peer.</dd>
<dd><code><a href="../../../../com/ericsson/otp/erlang/OtpAuthException.html" title="class in com.ericsson.otp.erlang">OtpAuthException</a></code> - if handshake resulted in an authentication
 error</dd></dl>
</li>
</ul>
<a name="AbstractConnection(com.ericsson.otp.erlang.OtpLocalNode, com.ericsson.otp.erlang.OtpPeer)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractConnection</h4>
<pre>protected&nbsp;AbstractConnection(<a href="../../../../com/ericsson/otp/erlang/OtpLocalNode.html" title="class in com.ericsson.otp.erlang">OtpLocalNode</a>&nbsp;self,
                  <a href="../../../../com/ericsson/otp/erlang/OtpPeer.html" title="class in com.ericsson.otp.erlang">OtpPeer</a>&nbsp;other)
                      throws java.io.IOException,
                             <a href="../../../../com/ericsson/otp/erlang/OtpAuthException.html" title="class in com.ericsson.otp.erlang">OtpAuthException</a></pre>
<div class="block">Intiate and open a connection to a remote node.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if it was not possible to connect to the
 peer.</dd>
<dd><code><a href="../../../../com/ericsson/otp/erlang/OtpAuthException.html" title="class in com.ericsson.otp.erlang">OtpAuthException</a></code> - if handshake resulted in an authentication
 error.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="deliver(java.lang.Exception)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deliver</h4>
<pre>public abstract&nbsp;void&nbsp;deliver(java.lang.Exception&nbsp;e)</pre>
<div class="block">Deliver communication exceptions to the recipient.</div>
</li>
</ul>
<a name="deliver(com.ericsson.otp.erlang.OtpMsg)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deliver</h4>
<pre>public abstract&nbsp;void&nbsp;deliver(<a href="../../../../com/ericsson/otp/erlang/OtpMsg.html" title="class in com.ericsson.otp.erlang">OtpMsg</a>&nbsp;msg)</pre>
<div class="block">Deliver messages to the recipient.</div>
</li>
</ul>
<a name="sendBuf(com.ericsson.otp.erlang.OtpErlangPid, java.lang.String, com.ericsson.otp.erlang.OtpOutputStream)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendBuf</h4>
<pre>protected&nbsp;void&nbsp;sendBuf(<a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;from,
           java.lang.String&nbsp;dest,
           <a href="../../../../com/ericsson/otp/erlang/OtpOutputStream.html" title="class in com.ericsson.otp.erlang">OtpOutputStream</a>&nbsp;payload)
                throws java.io.IOException</pre>
<div class="block">Send a pre-encoded message to a named process on a remote node.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dest</code> - the name of the remote process.</dd><dd><code>payload</code> - the encoded message to send.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if the connection is not active or a communication error
                occurs.</dd></dl>
</li>
</ul>
<a name="sendBuf(com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpOutputStream)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendBuf</h4>
<pre>protected&nbsp;void&nbsp;sendBuf(<a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;from,
           <a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;dest,
           <a href="../../../../com/ericsson/otp/erlang/OtpOutputStream.html" title="class in com.ericsson.otp.erlang">OtpOutputStream</a>&nbsp;payload)
                throws java.io.IOException</pre>
<div class="block">Send a pre-encoded message to a process on a remote node.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dest</code> - the Erlang PID of the remote process.</dd><dd><code>msg</code> - the encoded message to send.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if the connection is not active or a communication error
                occurs.</dd></dl>
</li>
</ul>
<a name="sendLink(com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangPid)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendLink</h4>
<pre>protected&nbsp;void&nbsp;sendLink(<a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;from,
            <a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;dest)
                 throws java.io.IOException</pre>
<div class="block">Create a link between the local node and the specified process on the
 remote node. If the link is still active when the remote process
 terminates, an exit signal will be sent to this connection. Use
 <a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendUnlink(com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangPid)"><code>unlink()</code></a> to remove the link.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dest</code> - the Erlang PID of the remote process.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if the connection is not active or a communication error
                occurs.</dd></dl>
</li>
</ul>
<a name="sendUnlink(com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangPid)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendUnlink</h4>
<pre>protected&nbsp;void&nbsp;sendUnlink(<a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;from,
              <a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;dest)
                   throws java.io.IOException</pre>
<div class="block">Remove a link between the local node and the specified process on the
 remote node. This method deactivates links created with <a href="../../../../com/ericsson/otp/erlang/AbstractConnection.html#sendLink(com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangPid)"><code>link()</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dest</code> - the Erlang PID of the remote process.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if the connection is not active or a communication error
                occurs.</dd></dl>
</li>
</ul>
<a name="sendExit(com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangObject)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendExit</h4>
<pre>protected&nbsp;void&nbsp;sendExit(<a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;from,
            <a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;dest,
            <a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a>&nbsp;reason)
                 throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="sendExit2(com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangPid, com.ericsson.otp.erlang.OtpErlangObject)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendExit2</h4>
<pre>protected&nbsp;void&nbsp;sendExit2(<a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;from,
             <a href="../../../../com/ericsson/otp/erlang/OtpErlangPid.html" title="class in com.ericsson.otp.erlang">OtpErlangPid</a>&nbsp;dest,
             <a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a>&nbsp;reason)
                  throws java.io.IOException</pre>
<div class="block">Send an exit signal to a remote process.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dest</code> - the Erlang PID of the remote process.</dd><dd><code>reason</code> - an Erlang term describing the exit reason.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if the connection is not active or a communication error
                occurs.</dd></dl>
</li>
</ul>
<a name="run()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>run</h4>
<pre>public&nbsp;void&nbsp;run()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>run</code>&nbsp;in interface&nbsp;<code>java.lang.Runnable</code></dd>
<dt><strong>Overrides:</strong></dt>
<dd><code>run</code>&nbsp;in class&nbsp;<code>java.lang.Thread</code></dd>
</dl>
</li>
</ul>
<a name="setTraceLevel(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTraceLevel</h4>
<pre>public&nbsp;int&nbsp;setTraceLevel(int&nbsp;level)</pre>
<div class="block"><p>
 Set the trace level for this connection. Normally tracing is off by
 default unless System property OtpConnection.trace was set.
 </p>
 
 <p>
 The following levels are valid: 0 turns off tracing completely, 1 shows
 ordinary send and receive messages, 2 shows control messages such as link
 and unlink, 3 shows handshaking at connection setup, and 4 shows
 communication with Epmd. Each level includes the information shown by the
 lower ones.
 </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>level</code> - the level to set.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the previous trace level.</dd></dl>
</li>
</ul>
<a name="getTraceLevel()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTraceLevel</h4>
<pre>public&nbsp;int&nbsp;getTraceLevel()</pre>
<div class="block">Get the trace level for this connection.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the current trace level.</dd></dl>
</li>
</ul>
<a name="close()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()</pre>
<div class="block">Close the connection to the remote node.</div>
</li>
</ul>
<a name="finalize()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>finalize</h4>
<pre>protected&nbsp;void&nbsp;finalize()</pre>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>finalize</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
<a name="isConnected()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isConnected</h4>
<pre>public&nbsp;boolean&nbsp;isConnected()</pre>
<div class="block">Determine if the connection is still alive. Note that this method only
 reports the status of the connection, and that it is possible that there
 are unread messages waiting in the receive queue.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>true if the connection is alive.</dd></dl>
</li>
</ul>
<a name="do_send(com.ericsson.otp.erlang.OtpOutputStream, com.ericsson.otp.erlang.OtpOutputStream)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>do_send</h4>
<pre>protected&nbsp;void&nbsp;do_send(<a href="../../../../com/ericsson/otp/erlang/OtpOutputStream.html" title="class in com.ericsson.otp.erlang">OtpOutputStream</a>&nbsp;header,
           <a href="../../../../com/ericsson/otp/erlang/OtpOutputStream.html" title="class in com.ericsson.otp.erlang">OtpOutputStream</a>&nbsp;payload)
                throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="do_send(com.ericsson.otp.erlang.OtpOutputStream)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>do_send</h4>
<pre>protected&nbsp;void&nbsp;do_send(<a href="../../../../com/ericsson/otp/erlang/OtpOutputStream.html" title="class in com.ericsson.otp.erlang">OtpOutputStream</a>&nbsp;header)
                throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="headerType(com.ericsson.otp.erlang.OtpErlangObject)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>headerType</h4>
<pre>protected&nbsp;java.lang.String&nbsp;headerType(<a href="../../../../com/ericsson/otp/erlang/OtpErlangObject.html" title="class in com.ericsson.otp.erlang">OtpErlangObject</a>&nbsp;h)</pre>
</li>
</ul>
<a name="readSock(java.net.Socket, byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readSock</h4>
<pre>protected&nbsp;int&nbsp;readSock(java.net.Socket&nbsp;s,
           byte[]&nbsp;b)
                throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="doAccept()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doAccept</h4>
<pre>protected&nbsp;void&nbsp;doAccept()
                 throws java.io.IOException,
                        <a href="../../../../com/ericsson/otp/erlang/OtpAuthException.html" title="class in com.ericsson.otp.erlang">OtpAuthException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
<dd><code><a href="../../../../com/ericsson/otp/erlang/OtpAuthException.html" title="class in com.ericsson.otp.erlang">OtpAuthException</a></code></dd></dl>
</li>
</ul>
<a name="doConnect(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doConnect</h4>
<pre>protected&nbsp;void&nbsp;doConnect(int&nbsp;port)
                  throws java.io.IOException,
                         <a href="../../../../com/ericsson/otp/erlang/OtpAuthException.html" title="class in com.ericsson.otp.erlang">OtpAuthException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
<dd><code><a href="../../../../com/ericsson/otp/erlang/OtpAuthException.html" title="class in com.ericsson.otp.erlang">OtpAuthException</a></code></dd></dl>
</li>
</ul>
<a name="genChallenge()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>genChallenge</h4>
<pre>protected static&nbsp;int&nbsp;genChallenge()</pre>
</li>
</ul>
<a name="genDigest(int, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>genDigest</h4>
<pre>protected&nbsp;byte[]&nbsp;genDigest(int&nbsp;challenge,
               java.lang.String&nbsp;cookie)</pre>
</li>
</ul>
<a name="sendName(int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendName</h4>
<pre>protected&nbsp;void&nbsp;sendName(int&nbsp;dist,
            int&nbsp;flags)
                 throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="sendChallenge(int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendChallenge</h4>
<pre>protected&nbsp;void&nbsp;sendChallenge(int&nbsp;dist,
                 int&nbsp;flags,
                 int&nbsp;challenge)
                      throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="read2BytePackage()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>read2BytePackage</h4>
<pre>protected&nbsp;byte[]&nbsp;read2BytePackage()
                           throws java.io.IOException,
                                  <a href="../../../../com/ericsson/otp/erlang/OtpErlangDecodeException.html" title="class in com.ericsson.otp.erlang">OtpErlangDecodeException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
<dd><code><a href="../../../../com/ericsson/otp/erlang/OtpErlangDecodeException.html" title="class in com.ericsson.otp.erlang">OtpErlangDecodeException</a></code></dd></dl>
</li>
</ul>
<a name="recvName(com.ericsson.otp.erlang.OtpPeer)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recvName</h4>
<pre>protected&nbsp;void&nbsp;recvName(<a href="../../../../com/ericsson/otp/erlang/OtpPeer.html" title="class in com.ericsson.otp.erlang">OtpPeer</a>&nbsp;peer)
                 throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="recvChallenge()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recvChallenge</h4>
<pre>protected&nbsp;int&nbsp;recvChallenge()
                     throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="sendChallengeReply(int, byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendChallengeReply</h4>
<pre>protected&nbsp;void&nbsp;sendChallengeReply(int&nbsp;challenge,
                      byte[]&nbsp;digest)
                           throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="recvChallengeReply(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recvChallengeReply</h4>
<pre>protected&nbsp;int&nbsp;recvChallengeReply(int&nbsp;our_challenge)
                          throws java.io.IOException,
                                 <a href="../../../../com/ericsson/otp/erlang/OtpAuthException.html" title="class in com.ericsson.otp.erlang">OtpAuthException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
<dd><code><a href="../../../../com/ericsson/otp/erlang/OtpAuthException.html" title="class in com.ericsson.otp.erlang">OtpAuthException</a></code></dd></dl>
</li>
</ul>
<a name="sendChallengeAck(byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendChallengeAck</h4>
<pre>protected&nbsp;void&nbsp;sendChallengeAck(byte[]&nbsp;digest)
                         throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="recvChallengeAck(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recvChallengeAck</h4>
<pre>protected&nbsp;void&nbsp;recvChallengeAck(int&nbsp;our_challenge)
                         throws java.io.IOException,
                                <a href="../../../../com/ericsson/otp/erlang/OtpAuthException.html" title="class in com.ericsson.otp.erlang">OtpAuthException</a></pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd>
<dd><code><a href="../../../../com/ericsson/otp/erlang/OtpAuthException.html" title="class in com.ericsson.otp.erlang">OtpAuthException</a></code></dd></dl>
</li>
</ul>
<a name="sendStatus(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sendStatus</h4>
<pre>protected&nbsp;void&nbsp;sendStatus(java.lang.String&nbsp;status)
                   throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="recvStatus()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recvStatus</h4>
<pre>protected&nbsp;void&nbsp;recvStatus()
                   throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="setFlags(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFlags</h4>
<pre>public&nbsp;void&nbsp;setFlags(int&nbsp;flags)</pre>
</li>
</ul>
<a name="getFlags()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getFlags</h4>
<pre>public&nbsp;int&nbsp;getFlags()</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/ericsson/otp/erlang/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../../../../com/ericsson/otp/erlang/AbstractNode.html" title="class in com.ericsson.otp.erlang"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/ericsson/otp/erlang/AbstractConnection.html" target="_top">Frames</a></li>
<li><a href="AbstractConnection.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_classes_inherited_from_class_java.lang.Thread">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>