modules.Module.html

dw_fluffos_v1/lib/www/external/java/telnet/Documentation/Source/modules.Module.html · 3.7 KB

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Mon Feb 23 10:46:39 CET 1998 -->
<a name="_top_"></a>
<title>
  Interface modules.Module
</title>
</head>
<body>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-modules.html">This Package</a>  <a href="Package-modules.html">Previous</a>  <a href="Package-modules.html">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Interface modules.Module
</h1>
<dl>
  <dt> public interface <b>Module</b>
  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>
</dl>
Modules must implement this interface to be detected as valid modules
<dl>
  <dt> <b>Version:</b>
  <dd> $Id: Module.java,v 1.3 1997/03/24 14:55:18 leo Exp $
  <dt> <b>Author:</b>
  <dd> Matthias L. Jugel, Marcus Meißner
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#connect(java.lang.String, int)"><b>connect</b></a>(String, int)
  <dd> Connected to the remote host.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#disconnect()"><b>disconnect</b></a>()
  <dd> Disconnect from the host.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#receive(java.lang.String)"><b>receive</b></a>(String)
  <dd> Receive data from somewhere.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setLoader(java.lang.Object)"><b>setLoader</b></a>(Object)
  <dd> Set the loader of the module.
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="setLoader(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setLoader"><b>setLoader</b></a>
<pre>
  public abstract void setLoader(<a href="java.lang.Object.html#_top_">Object</a> loader)
</pre>
<dl>
  <dd> Set the loader of the module. This is necessary to know if you want to
contact the modules parent.
  <dl>
    <dt> <b>Parameters:</b>
    <dd> loader - The object that has loaded this module.
  </dl>
</dl>
<a name="connect(java.lang.String, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="connect"><b>connect</b></a>
<pre>
  public abstract void connect(<a href="java.lang.String.html#_top_">String</a> host,
                               int port)
</pre>
<dl>
  <dd> Connected to the remote host. This method notifies upon new connection.
  <dl>
    <dt> <b>Parameters:</b>
    <dd> host - remote hostname
    <dd> port - remote port
  </dl>
</dl>
<a name="disconnect()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="disconnect"><b>disconnect</b></a>
<pre>
  public abstract void disconnect()
</pre>
<dl>
  <dd> Disconnect from the host. This method notifies of lost connection.
</dl>
<a name="receive(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="receive"><b>receive</b></a>
<pre>
  public abstract <a href="java.lang.String.html#_top_">String</a> receive(<a href="java.lang.String.html#_top_">String</a> s)
</pre>
<dl>
  <dd> Receive data from somewhere. If a modules does not want to receive data
it should return null to remove itself from the list of receiver modules.
  <dl>
    <dt> <b>Parameters:</b>
    <dd> s - The string we receive.
    <dt> <b>Returns:</b>
    <dd> the modified string or null (to remove from receiver list)
  </dl>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-modules.html">This Package</a>  <a href="Package-modules.html">Previous</a>  <a href="Package-modules.html">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>

Site Stats

Snippets: 1791
Codebases: 571