net.java.sip.communicator.plugin.scphone
Interface SCPhoneListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
SCPhoneActivator

public interface SCPhoneListener
extends java.util.EventListener

SCPhone event listener interface. Implement this interface if you want to be informed when an event is generated by the phone device.


Method Summary
 void phoneCommandReceived(SCPhoneMessageEvent event)
          This will be triggered when a message is received.
 void phoneCommandSent(SCPhoneMessageEvent event)
          This will be triggered when a message has been sent to the phone.
 void statusChanged(SCPhoneStatusEvent event)
          This method will be triggered when the status of the phone changes.
 

Method Detail

phoneCommandReceived

void phoneCommandReceived(SCPhoneMessageEvent event)
This will be triggered when a message is received.

Parameters:
event - the event source.

phoneCommandSent

void phoneCommandSent(SCPhoneMessageEvent event)
This will be triggered when a message has been sent to the phone.

Parameters:
event - the event source.

statusChanged

void statusChanged(SCPhoneStatusEvent event)
This method will be triggered when the status of the phone changes.

Parameters:
event - the event source.