Class STUNServer

java.lang.Object
javaforce.service.STUNServer

public class STUNServer extends Object
  • Field Details

  • Constructor Details

    • STUNServer

      public STUNServer()
      Starts a STUN/TURN server, loading config from file.
    • STUNServer

      public STUNServer(String user, String pass, int min, int max)
      Starts a STUN/TURN server with specific config options.
  • Method Details

    • getConfigFile

      public static String getConfigFile()
    • getLogFile

      public static String getLogFile()
    • getLocalPort

      public int getLocalPort()
    • getLocalAddr

      public String getLocalAddr()
    • start

      public void start()
    • stop

      public void stop()
    • setPortRange

      public void setPortRange(int min, int max)
    • getBusPort

      public static int getBusPort()
    • main

      public static void main(String[] args)
    • serviceStart

      public static void serviceStart(String[] args)
    • serviceStop

      public static void serviceStop()