osx - How to use notificationconf? -


I have read the tutorial about creating push nodes and notification / posting. The only problem is that it seems that notificationconf is unable to create that node ...

My first question: the node name ( notificationconf Tools) and Notification name ( NSString which I use from the app) do the same thing?

Second:

  Notificationconf createnode push.example.com Enter the BFMyTestPushh Notification Bifon Password: // Password from the Open Directory for User BIEF - This is the administrator of the 10.6 server. 2010-01-24 13: 24: 58.916 Notification Conff [15221: 903] XMPP session 2010- 01-24 13: 24: 58.931 Notification [15221: 903] From the user com.apple.notificationuser@push.example.com/TestPubsub Connecting to push.example.com .222 with security = 2 ... ... 2010-01-24 13: 24: 59.130 Notification Conference [15221: 903] Session Callback (Event 1) 2010-01 -24 13: 24: 59.130 Ucnakendra [15221: 903] The session was stopped (Event 1)  

What do I do wrong? And posting notifications from the app does nothing ...

Thanks for any help!

I use the Snow Leopard server's push notification service to do a custom application based on XMPP published-subscribed I am trying to I struggled to make a node, but in the end it felt.

  1. Track the password for service account com.apple.notificationuser below. You can find it, for example, in /private/etc/dovecot/notify/notify.plist .

  2. Connect with your push notification server JID com.apple.notificationuser@your-chat-server-hostname.com and password.

  3. Create nodes in normal way XMPPFramework is like this:

      XMPPJID * serviceJID = [XMPPJID jidWithString: @ "pubsub.your- Chat-server-hostname.com "]; XMPPPubSub * xmppPubSub = [[XMPPPubSub alloc] initWithServiceJID: serviceJID]; [XmppPubSub createNode: @ "pubsub.your-chat-server-hostname.com` with options: zero];  
  4. Creates a server node. An Iq, But one is not needed. If this node is already present then it sends a complaint error.

      & lt; iq xmlns = "jabber: client" to = "com.apple Notification - your-chat-server-hostname.com / ... "from" = pubsub.your-chat-server-hostname.com "id =" ...: create_node "type =" results "/>    
  5. To publish your updates, connect using the same user.

    Code> Program to the notification console .


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -