mootcan.MOOtcan.html

mootcan-0.1.17/docs/mootcan.MOOtcan.html · 11.2 KB

From the archive mootcan-0.1.17.tar.gz

Download the archive   « Back to the archive contents

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Thu Dec 02 07:37:32 GMT+03:30 1999 -->
<title>
  Class mootcan.MOOtcan
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-mootcan.html">This Package</a>  <a href="Package-mootcan.html">Previous</a>  <a href="Package-mootcan.html">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class mootcan.MOOtcan
</h1>
<pre>
java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----mootcan.MOOtcan
</pre>
<hr>
<dl>
  <dt> public class <b>MOOtcan</b>
  <dt> extends Applet
</dl>
a simple MOO-client.
 it is currently only usable for MOO-connections as it sends and read lines,
 not characters, through and from the socket. it may be modified to support
 character-oriented connections.  this class glues together a GUI (currently
 only a panel inside a frame)  and a network-connection.
 it supports processing of the stream from the MOO, so that things like
 Surf'n Turf's browser interaction and MacMOOse's Object Browser can be
 implemented.
 two pipes are set up (marked with ->):
   (the users input) -> (the parser) - (the network socket)
   (the MOO output) -> (the moo parser) - (the users terminal)
 maybe it will be possible to send objects through the MOO-server, maybe
 storing them in MOO-objects, and rebuilding them at another client !? this
 could be usable for exhcanging objects like texts / pictures / sounds, you
 name it.
 for security, the applet and its threads are killed if the browser leaves *
 the applet-page for more than 10 seconds. the way we do this, is to start a
 thread that is waiting for the user to get back. there is a link to a
 description of this method in @see KillAllThread.java. it may be fascist, but
 browsers may be fascist too, and a user may forget that she is connected.
<p>
<dl>
  <dt> <b>Author:</b>
  <dd> Sindre Sørensen
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
</h2>
<dl>
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#disconnectMessage"><b>disconnectMessage</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#font"><b>font</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#fontsize"><b>fontsize</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#hostname"><b>hostname</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#killAllThread"><b>killAllThread</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#locale"><b>locale</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#localecho"><b>localecho</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#login"><b>login</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MOOname"><b>MOOname</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#mooParser"><b>mooParser</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MOOtcanPanel"><b>MOOtcanPanel</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#port"><b>port</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#reconnectMessage"><b>reconnectMessage</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#sayPrefix"><b>sayPrefix</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#socket"><b>socket</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#socketInput"><b>socketInput</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#socketOutput"><b>socketOutput</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#tmpUserStream"><b>tmpUserStream</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#urlstring"><b>urlstring</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#userInput"><b>userInput</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#userOutput"><b>userOutput</b></a>
  <dd> 
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#userParser"><b>userParser</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#version"><b>version</b></a>
  <dd> 
</dl>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MOOtcan()"><b>MOOtcan</b></a>()
  <dd> 
</dl>
<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="#destroy()"><b>destroy</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#init()"><b>init</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#start()"><b>start</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#stop()"><b>stop</b></a>()
  <dd> 
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="version"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>version</b>
<pre>
 static final String version
</pre>
<a name="hostname"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>hostname</b>
<pre>
 String hostname
</pre>
<a name="port"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>port</b>
<pre>
 int port
</pre>
<a name="login"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>login</b>
<pre>
 String login
</pre>
<a name="MOOname"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>MOOname</b>
<pre>
 String MOOname
</pre>
<a name="locale"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>locale</b>
<pre>
 String locale
</pre>
<a name="font"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>font</b>
<pre>
 String font
</pre>
<a name="fontsize"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>fontsize</b>
<pre>
 int fontsize
</pre>
<a name="localecho"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>localecho</b>
<pre>
 boolean localecho
</pre>
<a name="disconnectMessage"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>disconnectMessage</b>
<pre>
 String disconnectMessage
</pre>
<a name="reconnectMessage"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>reconnectMessage</b>
<pre>
 String reconnectMessage
</pre>
<a name="sayPrefix"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>sayPrefix</b>
<pre>
 String sayPrefix
</pre>
<a name="socket"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>socket</b>
<pre>
 Socket socket
</pre>
<a name="socketOutput"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>socketOutput</b>
<pre>
 OutputStream socketOutput
</pre>
<a name="userOutput"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>userOutput</b>
<pre>
 OutputStream userOutput
</pre>
<a name="socketInput"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>socketInput</b>
<pre>
 InputStream socketInput
</pre>
<a name="userInput"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>userInput</b>
<pre>
 InputStream userInput
</pre>
<a name="tmpUserStream"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>tmpUserStream</b>
<pre>
 DataOutputStream tmpUserStream
</pre>
<a name="urlstring"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>urlstring</b>
<pre>
 String urlstring
</pre>
<a name="MOOtcanPanel"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>MOOtcanPanel</b>
<pre>
 <a href="mootcan.MOOtcanPanel.html#_top_">MOOtcanPanel</a> MOOtcanPanel
</pre>
<a name="mooParser"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>mooParser</b>
<pre>
 <a href="mootcan.MooParser.html#_top_">MooParser</a> mooParser
</pre>
<a name="userParser"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>userParser</b>
<pre>
 <a href="mootcan.UserParser.html#_top_">UserParser</a> userParser
</pre>
<a name="killAllThread"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>killAllThread</b>
<pre>
 <a href="mootcan.KillAllThread.html#_top_">KillAllThread</a> killAllThread
</pre>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="MOOtcan"></a>
<a name="MOOtcan()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>MOOtcan</b>
<pre>
 public MOOtcan()
</pre>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="init()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="init"><b>init</b></a>
<pre>
 public void init()
</pre>
<dl>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.applet.Applet.html#init()">init</a> in class Applet
  </dl></dd>
</dl>
<a name="start()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="start"><b>start</b></a>
<pre>
 public void start()
</pre>
<dl>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.applet.Applet.html#start()">start</a> in class Applet
  </dl></dd>
</dl>
<a name="stop()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="stop"><b>stop</b></a>
<pre>
 public void stop()
</pre>
<dl>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.applet.Applet.html#stop()">stop</a> in class Applet
  </dl></dd>
</dl>
<a name="destroy()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="destroy"><b>destroy</b></a>
<pre>
 public void destroy()
</pre>
<dl>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.applet.Applet.html#destroy()">destroy</a> in class Applet
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-mootcan.html">This Package</a>  <a href="Package-mootcan.html">Previous</a>  <a href="Package-mootcan.html">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>

Site Stats

Snippets: 1791
Codebases: 571