Package client

Class Config

java.lang.Object
client.Config

public final class Config extends Object
Stores configurations for connecting the client
Since:
2023-02
  • Method Details

    • getInstance

      public static Config getInstance()
      Gets an instance of the static Config object, if it is null then creates one.
      Returns:
      Config
    • getAddress

      public static String getAddress()
      Return the value in address.
      Returns:
      String
    • getPort

      public static int getPort()
      Returns the value in port.
      Returns:
      int