Class STUNServer
java.lang.Object
javaforce.service.STUNServer
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStarts a STUN/TURN server, loading config from file.STUNServer(String user, String pass, int min, int max) Starts a STUN/TURN server with specific config options. -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic Stringintstatic Stringstatic voidstatic voidserviceStart(String[] args) static voidvoidsetPortRange(int min, int max) voidstart()voidstop()
-
Field Details
-
busPack
- See Also:
-
-
Constructor Details
-
STUNServer
public STUNServer()Starts a STUN/TURN server, loading config from file. -
STUNServer
-
-
Method Details
-
getConfigFile
-
getLogFile
-
getLocalPort
public int getLocalPort() -
getLocalAddr
-
start
public void start() -
stop
public void stop() -
setPortRange
public void setPortRange(int min, int max) -
getBusPort
public static int getBusPort() -
main
-
serviceStart
-
serviceStop
public static void serviceStop()
-