Skip to content

Instantly share code, notes, and snippets.

@pcrawfor
Created March 5, 2011 23:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pcrawfor/856838 to your computer and use it in GitHub Desktop.
Save pcrawfor/856838 to your computer and use it in GitHub Desktop.
Implement the FayeClientDelegate
- (void) messageReceived:(NSDictionary *)messageDict {
DLog(@"message received");
// do something useful with the message dictionary
}
- (void)connectedToServer {
// Faye connection established
}
- (void)disconnectedFromServer {
// Faye disconnected
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment