Connection Request Listener
/**
* Invoked in response to a connect request.
* @param event
*/
-(void)onConnectDone:(ConnectEvent*) event;
/**
* Invoked in response to a disconnect request.
* @param event
*/
-(void)onDisconnectDone:(ConnectEvent*) event;
/**
* Invoked in response to a subscribeRoom request.
* @param event
*/
-(void)onSubscribeRoomDone:(RoomEvent*)roomEvent;
/**
* Invoked in response to a UnSubscribeRoom request.
* @param event
*/
-(void)onUnSubscribeRoomDone:(RoomEvent*)roomEvent;/**
* Invoked in response to a joinRoom request.
* @param event
*/
-(void)onJoinRoomDone:(RoomEvent*)roomEvent;/**
* Invoked in response to a leaveRoom request.
* @param event
*/
-(void)onLeaveRoomDone:(RoomEvent*)roomEvent;/**
* Invoked in response to a getLiveRoomInfo request.
* @param event
*/
-(void)onGetLiveRoomInfoDone:(LiveRoomInfoEvent*)event;
/**
* Invoked in response to a setCustomRoomData request.
* @param event
*/
-(void)onSetCustomRoomDataDone:(LiveRoomInfoEvent*)event;
/**
* Invoked in response to a updateRoomProperties request.
* @param event
*/
-(void)onUpdatePropertyDone:(LiveRoomInfoEvent*)event;
/*
* Invoked in response to lock room property to any room.
* @param result
*/
-(void)onLockPropertiesDone:(Byte)result;
/*
* Invoked in response to unlock room property to any room.
* @param result
*/
-(void)onUnlockPropertiesDone:(Byte)result;
/**
* Invoked in response to a deleteRoom request.
* @param event
*/
-(void)onDeleteRoomDone:(RoomEvent*)roomEvent;/**
* Invoked in response to a getAllRooms request.
* @param event
*/
-(void)onGetAllRoomsDone:(AllRoomsEvent*)event;
/**
* Invoked in response to a createRoom request.
* @param event
*/
-(void)onCreateRoomDone:(RoomEvent*)roomEvent;/**
* Invoked in response to a getOnlineUsers request.
* @param event
*/
-(void)onGetOnlineUsersDone:(AllUsersEvent*)event;
/**
* Invoked in response to a getLiveUserInfo request.
* @param event
*/
-(void)onGetLiveUserInfoDone:(LiveUserInfoEvent*)event;
/**
* Invoked in response to a setCustomRoomData request.
* @param event
*/
-(void)onSetCustomUserDataDone:(LiveUserInfoEvent*)event;
/**
* Invoked in response to a getMatchMaking Rooms request.
* @param event
*/
-(void)onGetMatchedRoomsDone:(MatchedRoomsEvent*)matchedRoomsEvent;
/**
* Invoked in response to a joinLobby request.
* @param event
*/
-(void)onJoinLobbyDone:(LobbyEvent*)lobbyEvent;
/**
* Invoked in response to a leaveLobby request.
* @param event
*/
-(void)onLeaveLobbyDone:(LobbyEvent*)lobbyEvent;
/**
* Invoked in response to a subscribeLobby request.
* @param event
*/
-(void)onSubscribeLobbyDone:(LobbyEvent*)lobbyEvent;
/**
* Invoked in response to a UnSubscribeLobby request.
* @param event
*/
-(void)onUnSubscribeLobbyDone:(LobbyEvent*)lobbyEvent;
/**
* Invoked in response to a getLiveLobbyInfo request.
* @param event
*/
-(void)onGetLiveLobbyInfoDone:(LiveRoomInfoEvent*)event;
/**
* Result of SendUpdatePeers request. The result value maps to a WarpResponseResultCode
* @param result
*/
-(void)onSendUpdatePeersDone:(Byte)result;
/**
* Result of SendChat request. The result value maps to a WarpResponseResultCode
* @param result
*/
-(void)onSendChatDone:(Byte)result;
/**
* Invoked when a response for sendPrivateChat is received. Result of the
* operation is passed as an argument of value WarpResponseResultCode.
* @param result
*/
-(void)onSendPrivateChatDone:(Byte)result;
/**
* Invoked when a room is created. Lobby subscribers will receive this.
* @param event
*/
-(void)onRoomCreated:(RoomData*)roomData;
/**
* Invoked when a room is deleted. Lobby subscribers will receive this.
* @param event
*/
-(void)onRoomDestroyed:(RoomData*)roomData;
/**
* Invoked when a user leaves a room. Lobby and the concerned room subscribers
* will receive this.
* @param event
* @param username
*/
-(void)onUserLeftRoom:(RoomData*)roomData username:(NSString*)username;
/**
* Invoked when a user joins a room. Lobby and the concerned room subscribers
* will receive this.
* @param event
* @param username
*/
-(void)onUserJoinedRoom:(RoomData*)roomData username:(NSString*)username;
/**
* Invoked when a user leaves a lobby. Lobby subscribers will receive this.
* @param event
* @param username
*/
-(void)onUserLeftLobby:(LobbyData*)lobbyData username:(NSString*)username;
/**
* Invoked when a user joins a lobby. Lobby subscribers will receive this.
* @param event
* @param username
*/
-(void)onUserJoinedLobby:(LobbyData*)lobbyData username:(NSString*)username;
/**
* Invoked when a joined user sends a chat. Rooms subscribers will receive this.
* @param event
*/
-(void)onChatReceived:(ChatEvent*)chatEvent;
/**
* Invoked when a private chat is received from the given sender.
* @param sender
* @param message
*/
-(void)onPrivateChatReceived:(NSString*)message fromUser:(NSString*)senderName;
/**
* Invoked when a joined user sends a updatePeers request. Rooms subscribers
* will receive this.
* @param event
*/
-(void)onUpdatePeersReceived:(UpdateEvent*)updateEvent;
/**
* Invoked when a user change room property. Lobby and the concerned room subscribers
* will receive this.
* @param event
* @param username
* @param properties
* @param lockedProperties
*/
-(void)onUserChangeRoomProperty:(RoomData*)event username:(NSString*)username properties:
(NSDictionary*)properties lockedProperties:(NSDictionary*)lockedProperties;