All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class novocode.netforge.echo.EchoServer

java.lang.Object
   |
   +----novocode.netforge.PortServer
           |
           +----novocode.netforge.echo.EchoServer

public final class EchoServer
extends PortServer
A very simple port server that reads lines of text and echoes them back to the client.


Constructor Index

 o EchoServer()

Method Index

 o accept(Socket)
 o getType()
 o serverGetConfig(Config)
 o serverResetConfig()

Constructors

 o EchoServer
 public EchoServer()

Methods

 o serverGetConfig
 protected void serverGetConfig(Config c)
Overrides:
serverGetConfig in class PortServer
 o serverResetConfig
 protected void serverResetConfig()
Overrides:
serverResetConfig in class PortServer
 o getType
 protected String getType()
Overrides:
getType in class PortServer
 o accept
 protected void accept(Socket sock)
Overrides:
accept in class PortServer

All Packages  Class Hierarchy  This Package  Previous  Next  Index