]> sjero.net Git - linphone/commitdiff
add notifyReceived + refreshRegisters to java api
authorJehan Monnier <jehan.monnier@linphone.org>
Thu, 28 Jun 2012 11:17:55 +0000 (13:17 +0200)
committerJehan Monnier <jehan.monnier@linphone.org>
Thu, 28 Jun 2012 11:18:00 +0000 (13:18 +0200)
java/common/org/linphone/core/LinphoneCore.java
java/common/org/linphone/core/LinphoneCoreListener.java
mediastreamer2
oRTP

index f4bcc7ef8e6b91e2976f554c3cd4bc490333fd2b..6f0ce2c653cc47450f3887b5d1d44e678b5d31c3 100644 (file)
@@ -180,6 +180,9 @@ public interface LinphoneCore {
                        this.tcp = t.tcp;
                        this.tls = t.tls;
                }
+               public String toString() {
+                       return "udp["+udp+"] tcp["+tcp+"] tls["+tls+"]";
+               }
        }
        /**
         * Media (RTP) encryption enum-like.
@@ -776,4 +779,9 @@ public interface LinphoneCore {
         * Set missed calls count to zero
         */
        public void resetMissedCallsCount();
+       /**
+        * re-initiates registration if network is up.
+        */
+       public void refreshRegisters();
+
 }
index cfe43895ef82ac45e897d6d1df90decb16c065c9..400e942c3f960b6699b890ffeca897803711fef3 100644 (file)
@@ -103,5 +103,14 @@ public interface LinphoneCoreListener {
         * @param data
         */
        void ecCalibrationStatus(LinphoneCore lc,LinphoneCore.EcCalibratorStatus status, int delay_ms, Object data);
+       /**
+        *  Report Notified message received for this identity.
+        *  @param lc LinphoneCore
+        *  @param call LinphoneCall in case the notify is part of a dialog, may be null
+        *  @param from LinphoneAddress the message comes from
+        *  @param event String the raw body of the notify event.
+        *  
+        */
+       void notifyReceived(LinphoneCore lc, LinphoneCall call, LinphoneAddress from, byte[] event);
 }
 
index 84b9ef050c6abd26446901c2532573f2589a435b..75eb1fcf8d6097e51bcb507be339dd397c6b4dd5 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 84b9ef050c6abd26446901c2532573f2589a435b
+Subproject commit 75eb1fcf8d6097e51bcb507be339dd397c6b4dd5
diff --git a/oRTP b/oRTP
index 2590e21d864b43d6ac3a2ece0cf3b4d0e208e866..41d13b7e491c7fc418987b63ff6ef80c7e8895a4 160000 (submodule)
--- a/oRTP
+++ b/oRTP
@@ -1 +1 @@
-Subproject commit 2590e21d864b43d6ac3a2ece0cf3b4d0e208e866
+Subproject commit 41d13b7e491c7fc418987b63ff6ef80c7e8895a4