I am having a little trouble with the docs in trying to figure out how to register a callback to get notify messages on OS X in Obj-C. I was wondering if anyone knew what the callback gets registered to or if the messages come down a certain channel? Basically AfterSubscribe to a channel on the server I am trying to send a message to the new client.Thanks!
--
You received this message because you are subscribed to the Google Groups "WebSync" group.
To unsubscribe from this group and stop receiving emails from it, send an email to websync+u...@googlegroups.com.
To post to this group, send email to web...@googlegroups.com.
Visit this group at http://groups.google.com/group/websync?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/websync/-/-K8ovmZlYaUJ.
For more options, visit https://groups.google.com/groups/opt_out.
I am using the following to register to the event. There are several observer events for notify, I believe that since I am on the client side this is the right one but I am getting an exception with the callback arguments. Here is my callback function. Should I use a different callback arg?
-(void)onNotify:(FMWebSyncNotifyReceiveArgs *)e {
NSLog(@"Notify:%@",e.value);
}
To view this discussion on the web visit https://groups.google.com/d/msg/websync/-/bv8o4IrkIjQJ.