Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol.event
Class CallGroupEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.java.sip.communicator.service.protocol.event.CallGroupEvent
All Implemented Interfaces:
Serializable

public class CallGroupEvent
extends EventObject

An event class representing that an Call or CallPeer is added/removed to/from a CallGroup.

Author:
Sebastien Vincent
See Also:
Serialized Form

Field Summary
static int CALLGROUP_CALL_ADDED
          CALLGROUP_CALL_ADDED event name.
static int CALLGROUP_CALL_REMOVED
          CALLGROUP_CALL_REMOVED event name.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CallGroupEvent(Call call, int eventID)
          Constructor.
 
Method Summary
 int getEventID()
          Returns one of the CALLGROUP_XXX member ints indicating the type of this event.
 Call getSourceCall()
          Returns the source call.
 
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

CALLGROUP_CALL_ADDED

public static final int CALLGROUP_CALL_ADDED
CALLGROUP_CALL_ADDED event name.

See Also:
Constant Field Values

CALLGROUP_CALL_REMOVED

public static final int CALLGROUP_CALL_REMOVED
CALLGROUP_CALL_REMOVED event name.

See Also:
Constant Field Values
Constructor Detail

CallGroupEvent

public CallGroupEvent(Call call,
                      int eventID)
Constructor.

Parameters:
call - call source
eventID - event ID
Method Detail

getEventID

public int getEventID()
Returns one of the CALLGROUP_XXX member ints indicating the type of this event.

Returns:
one of the CALLGROUP_XXX member ints indicating the type of this event.

getSourceCall

public Call getSourceCall()
Returns the source call.

Returns:
The source call

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.