[sip-comm-cvs] CVS update: /sip-communicator/src/net/java/sip/communicator/impl/protocol/sip/ProtocolProviderServiceSipImpl.java

emcho at dev.java.net emcho at dev.java.net
Mon Apr 23 19:38:19 CEST 2007


User: emcho   
Date: 2007-04-23 17:38:19+0000
Log:
 adding phoney presence for the sip provider
 
 add phoney (gibberish like) presence to SIP until we have a full implementation of SIMPLE

File Changes:

Directory: /sip-communicator/src/net/java/sip/communicator/impl/protocol/sip/
=============================================================================

File [changed]: ProtocolProviderServiceSipImpl.java
Url: https://sip-communicator.dev.java.net/source/browse/sip-communicator/src/net/java/sip/communicator/impl/protocol/sip/ProtocolProviderServiceSipImpl.java?r1=1.24&r2=1.25
Delta lines:  +14 -2
--------------------
--- ProtocolProviderServiceSipImpl.java	2007-02-27 15:28:32+0000	1.24
+++ ProtocolProviderServiceSipImpl.java	2007-04-23 17:38:16+0000	1.25
@@ -608,6 +608,18 @@
                 OperationSetBasicTelephony.class.getName()
                 , opSetBasicTelephony);
 
+            //init presence op set.
+            OperationSetPersistentPresence opSetPersPresence
+                = new OperationSetPersistentPresenceSipImpl(this);
+            this.supportedOperationSets.put(
+                OperationSetPersistentPresence.class.getName()
+                , opSetPersPresence);
+            //also register with standard presence
+            this.supportedOperationSets.put(
+                OperationSetPresence.class.getName()
+                , opSetPersPresence);
+
+
             //create our own address.
             String ourUserID = (String)accountID.getAccountProperties()
                 .get(ProtocolProviderFactory.USER_ID);




---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe at sip-communicator.dev.java.net
For additional commands, e-mail: cvs-help at sip-communicator.dev.java.net





More information about the commits mailing list