aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/protocol
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2011-01-05 15:18:35 +0000
committerDamian Minkov <damencho@jitsi.org>2011-01-05 15:18:35 +0000
commit6d7e078bf6bc16fc47c0c1d904608b8d0aec2c3c (patch)
treee65bc3f63eb5a3a099e8d7acbde822ade34b74b1 /src/net/java/sip/communicator/service/protocol
parent362d8bc4468bc3fd47b56965f8886ace78d4e74e (diff)
downloadjitsi-6d7e078bf6bc16fc47c0c1d904608b8d0aec2c3c.zip
jitsi-6d7e078bf6bc16fc47c0c1d904608b8d0aec2c3c.tar.gz
jitsi-6d7e078bf6bc16fc47c0c1d904608b8d0aec2c3c.tar.bz2
Fix default values for jabber connection (stun auto-discover and jingle nodes if account props are missing) to reflect default values when creating account.
Add option to change source when sending generic jabber notifications. Ignore time for querying network devices when checking for changes in network config.
Diffstat (limited to 'src/net/java/sip/communicator/service/protocol')
-rw-r--r--src/net/java/sip/communicator/service/protocol/OperationSetGenericNotifications.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/service/protocol/OperationSetGenericNotifications.java b/src/net/java/sip/communicator/service/protocol/OperationSetGenericNotifications.java
index 9236357..ebf9ba4 100644
--- a/src/net/java/sip/communicator/service/protocol/OperationSetGenericNotifications.java
+++ b/src/net/java/sip/communicator/service/protocol/OperationSetGenericNotifications.java
@@ -42,6 +42,20 @@ public interface OperationSetGenericNotifications
String eventValue);
/**
+ * Generates new generic event notification and send it to the
+ * supplied contact.
+ * @param jid the contact jid which will receive the event notification.
+ * @param eventName the event name of the notification.
+ * @param eventValue the event value of the notification.
+ * @param source the source that will be reported in the event.
+ */
+ public void notifyForEvent(
+ String jid,
+ String eventName,
+ String eventValue,
+ String source);
+
+ /**
* Registers a <tt>GenericEventListener</tt> with this
* operation set so that it gets notifications for new
* event notifications.