Package net.sf.asterisk.manager

Provides an implementaion of Asterisk's Manager API.

See:
          Description

Interface Summary
ActionBuilder Transforms ManagerActions to Strings suitable to be sent to Asterisk.
The attributes are determined using reflection.
AsteriskManager The AsteriskManager is built on top of the ManagerConnection and is an attempt to simplify interaction with Asterisk by abstracting the interface.
You will certainly have less freedom using AsteriskManager but it will make life easier for easy things (like originating a call or getting a list of open channels).
AsteriskManager is still in an early state of development.
Dispatcher The Dispatcher defines the interface used for communication between ManagerConnection and ManagerReader.
Do not use this interface in your code, it is intended to be used only by the DefaultManagerConnection and its ManagerReader.
EventBuilder Transforms maps of attributes to instances of ManagerEvent.
ManagerConnection The main interface to talk to an Asterisk server via the Asterisk Manager API.
The ManagerConnection repesents a connection to an Asterisk Server and is capable to send Actions and receive Responses and Events.
ManagerEventHandler An Interface to handle events received from an asterisk server.
ManagerReader The ManagerReader reads events and responses from the asterisk server, parses them using EventBuilderImpl and ResponseBuilder and dispatches them to the associated ManagerConnection.
Do not use this interface in your code, it is intended to be used only by the DefaultManagerConnection.
ManagerResponseHandler An Interface to handle responses received from an asterisk server.
ManagerWriter The ManagerWriter transforms actions using an ActionBuilder and sends them to the asterisk server.
This class is intended to be used only by the DefaultManagerConnection.
ResponseBuilder Transforms maps of attributes to instances of ManagerResponse.
ResponseEvents Contains the result of executing an EventGeneratingAction, that is the ManagerResponse and any received ManagerEvents.
 

Class Summary
AsteriskServer Represents an Asterisk server that is connected via the Manager API.
Call  
Channel  
ChannelStateEnum Enumeration that represents the state of a channel.
DefaultAsteriskManager Default implementation of the AsteriskManager interface.
DefaultManagerConnection Default implemention of the ManagerConnection interface.
Generelly avoid direct use of this class.
Extension Represents an Asterisk dialplan entry.
ManagerConnectionFactory This factory is used to obtain new ManagerConnections.
MultiAsterisksManager  
Originate  
PingThread A Thread that pings the Asterisk server at a given interval.
You can use this to prevent the connection being shut down when there is no traffic.
Queue  
 

Exception Summary
AuthenticationFailedException An AuthenticationFailedException is thrown when a login fails due to an incorrect username and/or password.
EventTimeoutException An EventTimeoutException is thrown if a ManagerResponse or some ResponseEvents are not completely received within the expected time period.
This exception allows you to retrieve the partial result, that is the events that have been successfully received before the timeout occured.
TimeoutException A TimeoutException is thrown if a ManagerResponse is not received within the expected time period.
 

Package net.sf.asterisk.manager Description

Provides an implementaion of Asterisk's Manager API.



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