proxy.html

dw_fluffos_v1/lib/www/external/java/telnet/Documentation/Source/proxy.html · 3.1 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>
  Class proxy
</title>
</head>
<body>
<h1>
  Class proxy
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----proxy
</pre>
<hr>
<dl>
  <dt> public class <b>proxy</b>
  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>
  <dt> implements <a href="java.lang.Runnable.html#_top_">Runnable</a>
</dl>
proxy class -- implements a proxy server to redirect network access
<dl>
  <dt> <b>Version:</b>
  <dd> $Id: proxy.java,v 1.4 1997/05/27 13:09:46 leo Exp $
  <dt> <b>Author:</b>
  <dd> Matthias L. Jugel, Marcus Meißner
</dl>
<hr>
<a name="index"></a>
<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="#proxy(int, java.lang.String, int)"><b>proxy</b></a>(int, String, int)
  <dd> Create a server socket and start listening on the local port.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#main(java.lang.String[])"><b>main</b></a>(String[])
  <dd> This method is called when the application is run on the commandline.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#run()"><b>run</b></a>()
  <dd> Cycle around until an error occurs and wait for incoming connections.
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="proxy"></a>
<a name="proxy(int, java.lang.String, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>proxy</b>
<pre>
  public proxy(int lport,
               <a href="java.lang.String.html#_top_">String</a> raddr,
               int rport)
</pre>
<dl>
  <dd> Create a server socket and start listening on the local port.
  <dl>
    <dt> <b>Parameters:</b>
    <dd> lport - local port
    <dd> raddr - address of the destination
    <dd> rport - port on the destination host
  </dl>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="main(java.lang.String[])"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="main"><b>main</b></a>
<pre>
  public static void main(<a href="java.lang.String.html#_top_">String</a> args[])
</pre>
<dl>
  <dd> This method is called when the application is run on the commandline.
It takes two or three arguments:
usage: java proxy local-port destination-host destination-port
  <dl>
    <dt> <b>Parameters:</b>
    <dd> args - The command line arguments
  </dl>
</dl>
<a name="run()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="run"><b>run</b></a>
<pre>
  public void run()
</pre>
<dl>
  <dd> Cycle around until an error occurs and wait for incoming connections.
An incoming connection will create two redirectors. One for
local-host - destination-host and one for destination-host - local-host.
</dl>
</body>
</html>

Site Stats

Snippets: 1791
Codebases: 571