net.java.sip.communicator.service.protocol.event
Class CallPeerSecurityOnEvent
java.lang.Object
java.util.EventObject
net.java.sip.communicator.service.protocol.event.CallPeerSecurityStatusEvent
net.java.sip.communicator.service.protocol.event.CallPeerSecurityOnEvent
- All Implemented Interfaces:
- Serializable
public class CallPeerSecurityOnEvent
- extends CallPeerSecurityStatusEvent
The CallPeerSecurityOnEvent is triggered whenever a
communication with a given peer is going secure.
- Author:
- Werner Dittmann, Yana Stamcheva
- See Also:
- Serialized Form
CallPeerSecurityOnEvent
public CallPeerSecurityOnEvent(CallPeer callPeer,
int sessionType,
String cipher,
SrtpControl srtpControl)
- The event constructor
- Parameters:
callPeer - the call peer associated with this eventsessionType - the type of the session, either
CallPeerSecurityStatusEvent.AUDIO_SESSION or
CallPeerSecurityStatusEvent.VIDEO_SESSIONcipher - the cipher used for the encryptionsrtpControl - the security controller that caused this event
getCipher
public String getCipher()
- Returns the cipher used for the encryption.
- Returns:
- the cipher used for the encryption.
getSecurityController
public SrtpControl getSecurityController()
- Gets the security controller that caused this event.
- Returns:
- the security controller that caused this event.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.