net.java.sip.communicator.service.protocol.event
Class CallPeerSecurityStatusEvent
java.lang.Object
java.util.EventObject
net.java.sip.communicator.service.protocol.event.CallPeerSecurityStatusEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CallPeerSecurityNegotiationStartedEvent, CallPeerSecurityOffEvent, CallPeerSecurityOnEvent, CallPeerSecurityTimeoutEvent
public abstract class CallPeerSecurityStatusEvent
- extends EventObject
Parent class for SecurityOn and SecurityOff events.
- Author:
- Yana Stamcheva
- See Also:
- Serialized Form
|
Field Summary |
static int |
AUDIO_SESSION
Constant value defining that security is enabled. |
static int |
VIDEO_SESSION
Constant value defining that security is disabled. |
|
Method Summary |
int |
getSessionType()
Returns the type of the session, either AUDIO_SESSION or VIDEO_SESSION. |
AUDIO_SESSION
public static final int AUDIO_SESSION
- Constant value defining that security is enabled.
- See Also:
- Constant Field Values
VIDEO_SESSION
public static final int VIDEO_SESSION
- Constant value defining that security is disabled.
- See Also:
- Constant Field Values
CallPeerSecurityStatusEvent
public CallPeerSecurityStatusEvent(Object source,
int sessionType)
- Constructor required by the EventObject.
- Parameters:
source - the source object for this event.sessionType - either AUDIO_SESSION or
VIDEO_SESSION to indicate the type of the
session
getSessionType
public int getSessionType()
- Returns the type of the session, either AUDIO_SESSION or VIDEO_SESSION.
- Returns:
- the type of the session, either AUDIO_SESSION or VIDEO_SESSION.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.