Asterisk-Java

org.asteriskjava
Class Cli

java.lang.Object
  extended by org.asteriskjava.Cli

public class Cli
extends java.lang.Object

Simple command line interface for Asterisk-Java. This class is run when Asterisk-Java is started with java -jar asterisk-java.jar. It is configured as Main-Class in the manifest.

The command line interface supports the following options:

-a, -agi [port]
Starts a FastAGI server
-h, -help
Displays the available options
-v, -version
Displays the version of Asterisk-Java
If no option is given a FastAGI server is started on the default port.

Since:
1.0.0

Constructor Summary
Cli()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cli

public Cli()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

Asterisk-Java

Copyright © 2004-2009 Stefan Reuter. All Rights Reserved.