Class SecuMangaServerMock

java.lang.Object

public class SecuMangaServerMock
extends AbstractThreadedSocketServer
SecuManga is a fictional native encryption library a GATEWAY will be provided for in this demonstration.
Author:
Karl Eilebrecht
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.calamanari.pk.util.AbstractConsoleServer

    AbstractConsoleServer.ServerState
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int DEFAULT_PORT
    default port
  • Constructor Summary

    Constructors
    Constructor Description
    SecuMangaServerMock()
    Creates new mock without starting it yet.
    We want to focus on the fictional legacy API, the most of the server/request stuff you'll find in the super classes.
  • Method Summary

    Modifier and Type Method Description
    static void main​(java.lang.String[] args)
    Creates new SecuManga Server Mock

    Methods inherited from class de.calamanari.pk.util.AbstractConsoleServer

    getServerName, getServerState, setupAndStart, start, stop

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • SecuMangaServerMock

      Creates new mock without starting it yet.
      We want to focus on the fictional legacy API, the most of the server/request stuff you'll find in the super classes.
  • Method Details

    • main

      public static void main​(java.lang.String[] args)
      Creates new SecuManga Server Mock
      Parameters:
      args - command line arguments, arg[0]=port (optional)