|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.ilink.jtapi.makecall.JTAPIConnection
public class JTAPIConnection
Connection between the application and the JTAPI server (TeamCall Server). Provides
functionality for monitoring a device and makes a call with this device.
Fires property change events if the call or the provider changes.
Constructor Summary | |
---|---|
JTAPIConnection(java.lang.String aProviderString)
Constructs a JTAPIConnection with the given provider string. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
|
void |
callChangedEvent(javax.telephony.events.CallEv[] arg0)
Call back function for the CallControlCallObserver |
void |
drop()
Clears the currently active connection. |
void |
firePropertyChange(java.beans.PropertyChangeEvent e)
Fired every time the Provider or the Call changed. |
void |
initializeProvider()
Connect JTAPIConnection to the TeamCall Server. |
void |
makeCall(java.lang.String aDestination)
Place a call to the given destination. |
void |
monitorStartForDevice(java.lang.String aDevice)
Set a monitor for the given device (a dialing number). |
void |
providerChangedEvent(javax.telephony.events.ProvEv[] arg0)
Call back function for the ProviderObserver interface |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTAPIConnection(java.lang.String aProviderString)
Method Detail |
---|
public void initializeProvider()
public void monitorStartForDevice(java.lang.String aDevice)
public void makeCall(java.lang.String aDestination)
aDestination
- The destination daling number.public void drop()
public void callChangedEvent(javax.telephony.events.CallEv[] arg0)
callChangedEvent
in interface javax.telephony.CallObserver
public void providerChangedEvent(javax.telephony.events.ProvEv[] arg0)
providerChangedEvent
in interface javax.telephony.ProviderObserver
public void firePropertyChange(java.beans.PropertyChangeEvent e)
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |