org.lastbamboo.common.turn.server
Class TurnLauncher

java.lang.Object
  extended by org.lastbamboo.common.turn.server.TurnLauncher

public class TurnLauncher
extends Object

Launcher class for launching a TURN servers.


Constructor Summary
TurnLauncher()
          Creates a new TURN launcher.
 
Method Summary
static void main(String[] args)
          Launches the SIP and TURN servers.
 void start()
          Launches any services that should be launched only if this peer is on the open Internet, such as running a TURN server or a SIP proxy.
 void stop()
          Stops the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TurnLauncher

public TurnLauncher()
Creates a new TURN launcher.

Method Detail

main

public static void main(String[] args)
Launches the SIP and TURN servers.

Parameters:
args - The command line arguments.

start

public void start()
           throws IOException
Launches any services that should be launched only if this peer is on the open Internet, such as running a TURN server or a SIP proxy.

Throws:
IOException - If we could not bind to the server socket.

stop

public void stop()
Stops the server.



Copyright © 2013 LittleShoot. All Rights Reserved.