Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/bundles/org.jivesoftware.smack/src/org/jivesoftware/smackx/jingle/media/JingleMediaListener.java')
-rw-r--r--protocols/bundles/org.jivesoftware.smack/src/org/jivesoftware/smackx/jingle/media/JingleMediaListener.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/protocols/bundles/org.jivesoftware.smack/src/org/jivesoftware/smackx/jingle/media/JingleMediaListener.java b/protocols/bundles/org.jivesoftware.smack/src/org/jivesoftware/smackx/jingle/media/JingleMediaListener.java
new file mode 100644
index 000000000..3cd463bf6
--- /dev/null
+++ b/protocols/bundles/org.jivesoftware.smack/src/org/jivesoftware/smackx/jingle/media/JingleMediaListener.java
@@ -0,0 +1,25 @@
+package org.jivesoftware.smackx.jingle.media;
+
+import java.io.InputStream;
+
+/**
+ * Jingle media listeners.
+ *
+ * @author Alasdair North
+ */
+public interface JingleMediaListener {
+
+ /**
+ * Listen for when an objects output DataSource is ready to be used.
+ * @author Alasdair North
+ */
+ public static interface Output {
+
+ /**
+ * Called when the objects output has changed (but not when it changes to null).
+ * @param output the new output DataSource of the listened to object.
+ */
+ public void outputChanged(InputStream output);
+ }
+}
+

Back to the top