All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class mootcan.UserParser

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----mootcan.UserParser

public class UserParser
extends Thread
reads lines from an InputStream, and passes them on to an OutputStream. in addition we will search for special messages from the user to the client.

Author:
Sindre Sørensen

Variable Index

 o in
 o localecho
 o out
 o userOut

Constructor Index

 o UserParser(InputStream, OutputStream, OutputStream, boolean)

Method Index

 o autoConnect(String)
 o checkLocalEcho(String)
 o run()

Variables

 o in
 private DataInputStream in
 o out
 private DataOutputStream out
 o userOut
 private DataOutputStream userOut
 o localecho
 private boolean localecho

Constructors

 o UserParser
 UserParser(InputStream inputStream,
            OutputStream outputStream,
            OutputStream userOutputStream,
            boolean localecho)

Methods

 o run
 public void run()
Overrides:
run in class Thread
 o checkLocalEcho
 private String checkLocalEcho(String s)
 o autoConnect
 public void autoConnect(String login)

All Packages  Class Hierarchy  This Package  Previous  Next  Index