Pusher API in Cocos2d-X games

Hi,
What is the way of using PUSHER API in COCOS2D-X. I have been trying to get use JNI, but the problem i am facing with JNI is getting the data from the C function in to my cocos2d-X framework .

Kind Regards