net.java.sip.communicator.plugin.scphone
Class SCPhoneStatusEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.java.sip.communicator.plugin.scphone.SCPhoneEvent
          extended by net.java.sip.communicator.plugin.scphone.SCPhoneStatusEvent
All Implemented Interfaces:
java.io.Serializable

public final class SCPhoneStatusEvent
extends SCPhoneEvent

A SCPhoneStatusEvent event will be raised when the phone device become available.

See Also:
Serialized Form

Field Summary
private  int status
          The new status that caused this event.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SCPhoneStatusEvent(java.lang.Object source, int newStatus)
          Constructor which sets the source and the new status.
 
Method Summary
 int getStatus()
          Return the new Status.
 
Methods inherited from class net.java.sip.communicator.plugin.scphone.SCPhoneEvent
getTime
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

status

private final int status
The new status that caused this event.

Constructor Detail

SCPhoneStatusEvent

SCPhoneStatusEvent(java.lang.Object source,
                   int newStatus)
Constructor which sets the source and the new status.

Parameters:
source - The phone that caused the change.
newStatus - The new status.
Method Detail

getStatus

public int getStatus()
Return the new Status.

Returns:
Status The current status of the phone device.