Class SubAPI


public final class SubAPI extends ClientAPI
SubAPI Class
  • Method Details

    • getInstance

      public static SubAPI getInstance()
      Gets the SubAPI Methods
      Returns:
      SubAPI
    • getInternals

      @Deprecated public ExHost getInternals()
      Deprecated.
      Use SubAPI Methods when available
      Gets the SubServers Internals
      Returns:
      ExHost Internals
    • getName

      public String getName()
      Get the Host Name
      Specified by:
      getName in class ClientAPI
      Returns:
      Host Name
    • getSubDataNetwork

      public DataClient[] getSubDataNetwork()
      Gets the SubData Network Connections
      Specified by:
      getSubDataNetwork in class ClientAPI
      Returns:
      SubData Network Connections
    • getSubDataProtocol

      public DataProtocol getSubDataProtocol()
      Gets the SubData Network Protocol
      Specified by:
      getSubDataProtocol in class ClientAPI
      Returns:
      SubData Network Protocol
    • getLangChannels

      public Collection<String> getLangChannels()
      Gets the current SubServers Lang Channels
      Specified by:
      getLangChannels in class ClientAPI
      Returns:
      SubServers Lang Channel list
    • getLang

      public Map<String,String> getLang(String channel)
      Gets values from the SubServers Lang
      Specified by:
      getLang in class ClientAPI
      Parameters:
      channel - Lang Channel
      Returns:
      Lang Value
    • getAppInfo

      public PluginInfo getAppInfo()
      Gets the SubServers App Info
      Returns:
      SubServers App Info