mirror of https://github.com/sipwise/jitsi.git
- added the secure button on the call panel - added a new operation set for secure call - removed implementation of the secure mode from jabber/mockcusax-fix
parent
45389d1fc1
commit
e7e71f8c1b
@ -0,0 +1,50 @@
|
||||
/*
|
||||
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
|
||||
*
|
||||
* Distributable under LGPL license.
|
||||
* See terms of license at gnu.org.
|
||||
*/
|
||||
package net.java.sip.communicator.service.protocol;
|
||||
|
||||
import net.java.sip.communicator.service.protocol.event.*;
|
||||
|
||||
/**
|
||||
* An Operation Set defining the encryption operations for telephony.
|
||||
*
|
||||
* @author Emanuel Onica
|
||||
* @author Romain Kuntz
|
||||
*/
|
||||
public interface OperationSetSecuredTelephony
|
||||
extends OperationSet
|
||||
{
|
||||
/**
|
||||
* Sets the secured state of the call session in which a specific participant
|
||||
* is involved
|
||||
*
|
||||
* @param participant the participant who toggled (or for whom is remotely
|
||||
* toggled) the secure status change for the call
|
||||
* @param secured the new secure status
|
||||
* @param source the source who generated the call change
|
||||
*/
|
||||
public void setSecured(CallParticipant participant, boolean secured,
|
||||
SecureStatusChangeSource source);
|
||||
|
||||
/**
|
||||
* Gets the secured state of the call session in which a specific participant
|
||||
* is involved
|
||||
*
|
||||
* @param participant the participant for who the call state is required
|
||||
* @return the call state
|
||||
*/
|
||||
public boolean isSecured(CallParticipant participant);
|
||||
|
||||
/**
|
||||
* Use this to indicate the source of setting the secure status
|
||||
* of the communication as being the local or remote peer or reverted by local
|
||||
*/
|
||||
public static enum SecureStatusChangeSource {
|
||||
SECURE_STATUS_CHANGE_BY_LOCAL,
|
||||
SECURE_STATUS_CHANGE_BY_REMOTE,
|
||||
SECURE_STATUS_REVERTED;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue