Class STUN

java.lang.Object
javaforce.service.STUN

public class STUN extends Object
  • Field Details

  • Constructor Details

    • STUN

      public STUN()
  • Method Details

    • getConfigFile

      public static String getConfigFile()
    • getLogFile

      public static String getLogFile()
    • start

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

      public boolean start(String user, String pass, int min, int max)
      Starts a STUN/TURN server with specific config options.
    • getLocalPort

      public int getLocalPort()
    • getLocalAddr

      public String getLocalAddr()
    • close

      public void close()
    • 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()