org.jvoicexml.callmanager
Interface TerminalListener

All Known Implementing Classes:
BaseCallManager

public interface TerminalListener

A listener to terminal events.

Since:
0.7
Version:
$Revision: 2659 $
Author:
Dirk Schnelle-Walka

Method Summary
 void terminalConnected(Terminal terminal, CallParameters parameters)
          A connection has been established with the given terminal.
 void terminalDisconnected(Terminal terminal)
          A connection has been disconnected with the given terminal.
 void terminalError(Terminal terminal, String message, Throwable cause)
          An error has occurred while interacting with the terminal.
 

Method Detail

terminalConnected

void terminalConnected(Terminal terminal,
                       CallParameters parameters)
A connection has been established with the given terminal.

Parameters:
terminal - the connected terminal.
parameters - additional call parameters

terminalDisconnected

void terminalDisconnected(Terminal terminal)
A connection has been disconnected with the given terminal.

Parameters:
terminal - the disconnected terminal.

terminalError

void terminalError(Terminal terminal,
                   String message,
                   Throwable cause)
An error has occurred while interacting with the terminal.

Parameters:
terminal - the terminal
message - a detailed message about the error
cause - the error cause.
Since:
0.7.5


Copyright © 2005-2010JVoiceXML group.