AI2 Component  (Version nb184)
com.google.appinventor.components.runtime.util.TelnetRepl Class Reference
Inheritance diagram for com.google.appinventor.components.runtime.util.TelnetRepl:

Public Member Functions

 TelnetRepl (Language language, java.net.Socket socket)
 
Object apply0 ()
 

Static Public Member Functions

static Thread serve (Language language, java.net.Socket client) throws java.io.IOException
 

Detailed Description

This is code for running Telnet-based Read-Eval-Print loops. It's based on the code for kawa.TelnetRepl

Definition at line 25 of file TelnetRepl.java.

Constructor & Destructor Documentation

◆ TelnetRepl()

com.google.appinventor.components.runtime.util.TelnetRepl.TelnetRepl ( Language  language,
java.net.Socket  socket 
)

Definition at line 32 of file TelnetRepl.java.

Member Function Documentation

◆ apply0()

Object com.google.appinventor.components.runtime.util.TelnetRepl.apply0 ( )

Definition at line 37 of file TelnetRepl.java.

◆ serve()

static Thread com.google.appinventor.components.runtime.util.TelnetRepl.serve ( Language  language,
java.net.Socket  client 
) throws java.io.IOException
static

Run a Kawa repl as a telnet server.

Parameters
clientA client that has connected to us, and that wants to use the telnet protocol to talk to a Scheme read-eval-print-loop.

Definition at line 68 of file TelnetRepl.java.


The documentation for this class was generated from the following file: