Class OppNetConsole

java.lang.Object
casa.lepton.console.OppNetConsole

public class OppNetConsole extends Object
Class processing text commands sent through a TCP session by invoking the methods of a OppNetGraph instance.
  • Constructor Details

  • Method Details

    • startConsole

      public void startConsole()
      Opens a server socket on console's TCP port and start waiting for clients' requests.
    • closeConsole

      public void closeConsole()
      Close the server socket.
    • notifyNodeListeners

      public void notifyNodeListeners(OppNode node, String command)
    • notifyEdgeListeners

      public void notifyEdgeListeners(OppEdge edge, String command)