File: Nameserver.html

package info (click to toggle)
tom 1.1.1-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 6,340 kB
  • ctags: 2,244
  • sloc: objc: 27,863; ansic: 9,804; sh: 7,411; yacc: 3,377; lex: 966; asm: 208; makefile: 62; cpp: 10
file content (51 lines) | stat: -rw-r--r-- 2,524 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<html><head><title>File too/Nameserver</title></head>
<body BGCOLOR="#ffffff" TEXT="#000000" LINK="#000000" VLINK="#000000">
<h1>File too/Nameserver</h1>
<hr><h2>class <a href="index.html">too</a>.<a name="NameserverDefinitions" href="#i_NameserverDefinitions">NameserverDefinitions</a></h2>
The NameserverDefinitions class contains nameserver related
    constants for any interested class to inherit.
<h3>variables</h3>
<dl>
<dt><b><code>
const DEFAULT_SERVER_PORT = 2360;
</code></b>
<dd>The default TCP port on which the nameserver is listening.

<dt><b><code>
const PORT_NOT_FOUND = -1;
</code></b>
<dd>The port number returned for the port which is not found.

</dl>
<h2>instance <a href="index.html">too</a>.<a name="i_NameserverDefinitions" href="#NameserverDefinitions">NameserverDefinitions</a></h2>
<hr><h2>class <a href="index.html">too</a>.<a name="Nameserver" href="#i_Nameserver">Nameserver</a></h2>
<h3>Inherits</h3>
<dl>
<dt>State supers
<dd><a href="Nameserver.html#NameserverDefinitions">NameserverDefinitions</a>
</dl>
<h2>instance <a href="index.html">too</a>.<a name="i_Nameserver" href="#Nameserver">Nameserver</a></h2>
<h3>methods</h3>
<dl><dt><b><pre>deferred void
       reportTo <a href="Nameserver.html#NameserverClient">NameserverClient</a> client
  portOfService <a href="../tom/index.html">tom</a>.<a href="../tom/String.html#String">String</a> service_name
         onHost <a href="../tom/index.html">tom</a>.<a href="../tom/String.html#String">String</a> hostname;
</pre></b><dd>
Report to the <code>client</code> the internet TCP port of the service named
    <code>service_name</code> which is running on the host named <code>hostname</code>.
<p></dl><hr><h2>class <a href="index.html">too</a>.<a name="NameserverClient" href="#i_NameserverClient">NameserverClient</a></h2>
<h3>Inherits</h3>
<dl>
<dt>State supers
<dd><a href="Nameserver.html#NameserverDefinitions">NameserverDefinitions</a>
</dl>
<h2>instance <a href="index.html">too</a>.<a name="i_NameserverClient" href="#NameserverClient">NameserverClient</a></h2>
<h3>methods</h3>
<dl><dt><b><pre>deferred void
  service <a href="../tom/index.html">tom</a>.<a href="../tom/String.html#String">String</a> service_name
   onHost <a href="../tom/index.html">tom</a>.<a href="../tom/String.html#String">String</a> hostname
  hasPort int port;
</pre></b><dd>
Be informed of the <code>port</code> in response to the <code>reportTo portOfService
    onHost</code> request.
<p></dl><hr><address>Generated by tm 1.01.</address></body></html>