Class PALplate.mud.DemonClient
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class PALplate.mud.DemonClient

java.lang.Object
   |
   +----PALplate.mud.DemonClient

public class DemonClient
extends Object
implements Runnable

Variable Index

 o demonHost
 o demonPort
 o fromString
 o inputStream
This makes it easier to recieve messages from the socket connection which we accepted
 o outputStream
This makes it easier to send messages to the socket connection which we accepted
 o stdInputStream
This makes it easier to recieve messages from the socket connection which we accepted

Constructor Index

 o DemonClient(String[])

Method Index

 o destroy()
Sends a quit command and closes the sockets (which by then a broken, so you may get an error but this way we can be doubly sure ...)
 o getParameter(String, String[])
all search strings are assumed to start with a + or - anything else is assumed to be an argument string.
 o main(String[])
 o parse_arguments(String[])
Parameters which can be passed to this application are:

-demonHost --(Demon host machine)

-demonPort --(Demon port)

 o run()
This function sends everything which arrives on stdn to the Demon.

Variables

 o demonPort
  protected int demonPort
 o demonHost
  protected String demonHost
 o outputStream
  protected PrintStream outputStream
This makes it easier to send messages to the socket connection which we accepted
 o inputStream
  protected DataInputStream inputStream
This makes it easier to recieve messages from the socket connection which we accepted
 o stdInputStream
  protected DataInputStream stdInputStream
This makes it easier to recieve messages from the socket connection which we accepted
 o fromString
  protected String fromString

Constructors

 o DemonClient
  public DemonClient(String argv[])

Methods

 o destroy
  public void destroy()
Sends a quit command and closes the sockets (which by then a broken, so you may get an error but this way we can be doubly sure ...)
 o main
  public static void main(String argv[])
 o parse_arguments
  public boolean parse_arguments(String argv[])
Parameters which can be passed to this application are:

-demonHost --(Demon host machine)

-demonPort --(Demon port)

 o getParameter
  public String getParameter(String searchString,
                             String argv[])
all search strings are assumed to start with a + or - anything else is assumed to be an argument string. Returns null if searchString doesn't occur in argv Returns "" if searchString occurs but has no arguments Returns argString if searchString has arguments
 o run
  public void run()
This function sends everything which arrives on stdn to the Demon.

All Packages  Class Hierarchy  This Package  Previous  Next  Index