File too/Nameserver


class too.NameserverDefinitions

The NameserverDefinitions class contains nameserver related constants for any interested class to inherit.

variables

const DEFAULT_SERVER_PORT = 2360;
The default TCP port on which the nameserver is listening.
const PORT_NOT_FOUND = -1;
The port number returned for the port which is not found.

instance too.NameserverDefinitions


class too.Nameserver

Inherits

State supers
NameserverDefinitions

instance too.Nameserver

methods

deferred void
       reportTo NameserverClient client
  portOfService tom.String service_name
         onHost tom.String hostname;
Report to the client the internet TCP port of the service named service_name which is running on the host named hostname.


class too.NameserverClient

Inherits

State supers
NameserverDefinitions

instance too.NameserverClient

methods

deferred void
  service tom.String service_name
   onHost tom.String hostname
  hasPort int port;
Be informed of the port in response to the reportTo portOfService onHost request.


Generated by tm 1.01.