|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AGIServer
Listens for incoming AGI connections, reads the inital data and builds an
AGIRequest using an AGIRequestBuilder.
The AGIRequest is then handed over to the appropriate AGIScript for
processing.
Method Summary | |
---|---|
void |
shutdown()
Shuts this AGIServer down. The server socket is closed and all resources are freed. |
void |
startup()
Starts this AGIServer. After calling startup() this AGIServer is ready to receive requests from Asterisk servers and process them. |
Method Detail |
---|
void startup() throws java.io.IOException, java.lang.IllegalStateException
java.io.IOException
- if the server socket cannot be bound.
java.lang.IllegalStateException
- if this AGIServer is already running.void shutdown() throws java.io.IOException, java.lang.IllegalStateException
java.io.IOException
- if the connection cannot be shut down.
java.lang.IllegalStateException
- if this AGIServer is already shut down or
has not yet been started.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |