Class AbstractThreadedSocketServer

Direct Known Subclasses:
EchoServer, SecuMangaServerMock

public abstract class AbstractThreadedSocketServer
extends AbstractConsoleServer
Abstract Threaded Socket server
This is a threaded socket server, it can accept and process an arbitrary number of connections concurrently.
A subclass only has to implement the concrete communication operations, the other stuff is handled by logic in the super classes (TEMPLATE METHOD pattern).
Karl Eilebrecht
  • Constructor Details

    • AbstractThreadedSocketServer

      public AbstractThreadedSocketServer​(java.lang.String serverName)
      Creates new mock without starting it yet.
      serverName - name of the new server