SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.media.event
Interface SessionCreatorCallback


public interface SessionCreatorCallback

The SessionCreatorCallback is meant to be used by the call session creator, as the name indicates in order to be notified when a security event has occured.

Author:
Yana Stamcheva

Method Summary
 void securityMessage(String message, String i18nMessage, int severity)
          Indicates that a security message has occurred associated with a failure/warning or information coming from the encryption protocol.
 void securityOff(int sessionType)
          Indicates that the security has been turned off.
 void securityOn(int sessionType, String cipher, String securityString, boolean isVerified)
          Indicates that the security has been turned on.
 

Method Detail

securityOn

void securityOn(int sessionType,
                String cipher,
                String securityString,
                boolean isVerified)
Indicates that the security has been turned on.

Parameters:
sessionType - the type of the call session - audio or video.
cipher - the cipher
securityString - the SAS
isVerified - indicates if the SAS has been verified

securityOff

void securityOff(int sessionType)
Indicates that the security has been turned off.

Parameters:
sessionType - the type of the call session - audio or video.

securityMessage

void securityMessage(String message,
                     String i18nMessage,
                     int severity)
Indicates that a security message has occurred associated with a failure/warning or information coming from the encryption protocol.

Parameters:
message - the message.
i18nMessage - the internationalized message
severity - severity level

SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

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