summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/isode/stroke/jingle/IncomingJingleSessionHandler.java')
-rw-r--r--src/com/isode/stroke/jingle/IncomingJingleSessionHandler.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/com/isode/stroke/jingle/IncomingJingleSessionHandler.java b/src/com/isode/stroke/jingle/IncomingJingleSessionHandler.java
new file mode 100644
index 0000000..72d27bd
--- /dev/null
+++ b/src/com/isode/stroke/jingle/IncomingJingleSessionHandler.java
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2011-2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+/*
+ * Copyright (c) 2015 Tarun Gupta.
+ * Licensed under the simplified BSD license.
+ * See Documentation/Licenses/BSD-simplified.txt for more information.
+ */
+
+package com.isode.stroke.jingle;
+
+import com.isode.stroke.jingle.JingleSession;
+import com.isode.stroke.elements.JingleContentPayload;
+import com.isode.stroke.jid.JID;
+import java.util.Vector;
+
+public interface IncomingJingleSessionHandler {
+
+ public boolean handleIncomingJingleSession(JingleSession session, final Vector<JingleContentPayload> contents, final JID recipient);
+} \ No newline at end of file