aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service
diff options
context:
space:
mode:
authorpaweldomas <pawel.domas@jitsi.org>2014-09-01 09:57:33 +0200
committerpaweldomas <pawel.domas@jitsi.org>2014-09-02 09:35:10 +0200
commite0597082be7ae20dd6e3e8bd8f9f32093bdad3a4 (patch)
tree418b9e9eeee574dd557d82fdfa4f1d8f3ba0a3b4 /src/net/java/sip/communicator/service
parent93305496ffc492b31dea5dd8d306db6df6487e64 (diff)
downloadjitsi-e0597082be7ae20dd6e3e8bd8f9f32093bdad3a4.zip
jitsi-e0597082be7ae20dd6e3e8bd8f9f32093bdad3a4.tar.gz
jitsi-e0597082be7ae20dd6e3e8bd8f9f32093bdad3a4.tar.bz2
Adds the operation set used by SIP gateway to handle operations specific to Jitsi Meet conference.
Diffstat (limited to 'src/net/java/sip/communicator/service')
-rw-r--r--src/net/java/sip/communicator/service/protocol/OperationSetJitsiMeetTools.java40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/service/protocol/OperationSetJitsiMeetTools.java b/src/net/java/sip/communicator/service/protocol/OperationSetJitsiMeetTools.java
new file mode 100644
index 0000000..9c5fc31
--- /dev/null
+++ b/src/net/java/sip/communicator/service/protocol/OperationSetJitsiMeetTools.java
@@ -0,0 +1,40 @@
+/*
+ * Jitsi, 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 org.jivesoftware.smack.packet.*;
+
+/**
+ * The operation set provides functionality specific to Jitsi Meet WebRTC
+ * conference.
+ *
+ * @author Pawel Domas
+ */
+public interface OperationSetJitsiMeetTools
+ extends OperationSet
+{
+ /**
+ * Includes given <tt>PacketExtension</tt> in multi user chat presence and
+ * sends presence update packet to the chat room.
+ * @param chatRoom the <tt>ChatRoom</tt> for which the presence will be
+ * updated.
+ * @param extension the <tt>PacketExtension</tt> to be included in MUC
+ * presence.
+ */
+ public void sendPresenceExtension(ChatRoom chatRoom,
+ PacketExtension extension);
+
+ /**
+ * Sets the status message of our MUC presence and sends presence status
+ * update packet to the server.
+ * @param chatRoom the <tt>ChatRoom</tt> for which the presence status
+ * message will be changed.
+ * @param statusMessage the text that will be used as our presence status
+ * message in the MUC.
+ */
+ public void setPresenceStatus(ChatRoom chatRoom, String statusMessage);
+}