Class DefaultHost

java.lang.Object
net.sodacan.core.host.AbstractHost
net.sodacan.core.host.DefaultHost
All Implemented Interfaces:
Closeable, AutoCloseable, Host

public class DefaultHost extends AbstractHost implements Host
Contains ordinary host behavior. Coordinator is more likely to change based in needs.
  • Constructor Details

    • DefaultHost

      public DefaultHost(Config config)
  • Method Details

    • initialize

      public void initialize()

      Get things started in a host.

      • Create Coordinator
      • Create actorGroups
      • Set initialized to true
    • start

      public void start()
      Description copied from interface: Host
      Start this Host. Must occur before any messages accepted
      Specified by:
      start in interface Host
    • toString

      public String toString()
      Overrides:
      toString in class Object