Interface IJebMcpServer


public interface IJebMcpServer
Basic definition of a JEB MCP server instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the HTTP endpoint path exposed by the server.
    Get the hostname or bind address used by the server.
    Get the server name.
    int
    Get the listening port used by the server.
    Get the server version.
    void
    Serve requests until the server is stopped.
  • Method Details

    • getName

      String getName()
      Get the server name.
      Returns:
      server name
    • getVersion

      String getVersion()
      Get the server version.
      Returns:
      server version
    • getHostname

      String getHostname()
      Get the hostname or bind address used by the server.
      Returns:
      hostname
    • getPort

      int getPort()
      Get the listening port used by the server.
      Returns:
      port number
    • getEndpoint

      String getEndpoint()
      Get the HTTP endpoint path exposed by the server.
      Returns:
      endpoint path
    • serve

      void serve()
      Serve requests until the server is stopped.