Interface EventServer

All Known Implementing Classes:
NettyEventServer

public interface EventServer
Event Server
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the port that the server is listening on, if available.
    void
    Shutdown Event Server and close resources
  • Method Details

    • shutdown

      void shutdown()
      Shutdown Event Server and close resources
    • getListeningPort

      int getListeningPort()
      Returns the port that the server is listening on, if available. If unable to determine the port, will return 0.
      Returns:
      the port that the server is listening on, or 0 if unable to determine the port