public MessagingService() { _msgCallback = new MessageListenerEventHandler(set_message_listener_callback_delegate.set_message_listener_call_back); _exceptionCallback = new ExceptionListenerEventHandler(exception_listener_callback_delegate.exception_listener_call_back); _sendCallBack = new PublishAckListenerEventHandler(send_message_callback_delegate.send_message_call_back); _connectAckCallBack = new ConnectAckListenerEventHandler(connect_ack_callback_delegate.connect_call_back); _sendImgMsgCallBack = new PublishAckListenerEventHandler(send_message_callback_delegate.send_message_call_back); _createDiscussionCallback = new CreateDiscussionListenerEventHandler(create_invite_discussion_callback_delegate.create_invite_discussion_call_back); _disInfoCallback = new DiscussionInfoListenerEventHandler(discussion_info_callback_delegate.discussion_info_call_back); }
public static extern void GetUserData(CreateDiscussionListenerEventHandler callback);
public static extern void CreateDiscussion(string discussionName, RcTargetEntry[] userIds, int idCount, CreateDiscussionListenerEventHandler callback);