kawa
Class TelnetRepl

java.lang.Object
  extended by gnu.mapping.PropertySet
      extended by gnu.mapping.Procedure
          extended by gnu.mapping.Procedure0
              extended by kawa.TelnetRepl
All Implemented Interfaces:
Named

public class TelnetRepl
extends Procedure0


Constructor Summary
TelnetRepl(Language language, java.net.Socket socket)
           
 
Method Summary
 java.lang.Object apply0()
           
static void serve(Language language, java.net.Socket client)
          Run a Kawa repl as a telnet server.
 
Methods inherited from class gnu.mapping.Procedure0
apply1, apply2, apply3, apply4, applyN, numArgs
 
Methods inherited from class gnu.mapping.Procedure
apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getSetter, getSourceLocation, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
 
Methods inherited from class gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TelnetRepl

public TelnetRepl(Language language,
                  java.net.Socket socket)
Method Detail

apply0

public java.lang.Object apply0()
Specified by:
apply0 in class Procedure0

serve

public static void serve(Language language,
                         java.net.Socket client)
                  throws java.io.IOException
Run a Kawa repl as a telnet server.

Parameters:
client - A client that has connected to us, and that wants to use the telnet protocol to talk to a Scheme read-eval-print-loop.
Throws:
java.io.IOException