C# Class IndignadoServer.Services.ChatsService

Inheritance: IChatsService
Exibir arquivo Open project: Throy/derp-octo-robot

Public Methods

Method Description
GetUsersOnline ( bool onlyUnConsumed ) : List
GetUsersOnlineCount ( ) : int
HeartBeat ( ) : void
checkMessages ( bool onlyUnConsumed ) : List
closeChat ( int room ) : void
initChatWith ( int user ) : DTChatRoom
sendMesage ( int type, int room, String message ) : void

Method Details

GetUsersOnline() public method

public GetUsersOnline ( bool onlyUnConsumed ) : List
onlyUnConsumed bool
return List

GetUsersOnlineCount() public method

public GetUsersOnlineCount ( ) : int
return int

HeartBeat() public method

public HeartBeat ( ) : void
return void

checkMessages() public method

public checkMessages ( bool onlyUnConsumed ) : List
onlyUnConsumed bool
return List

closeChat() public method

public closeChat ( int room ) : void
room int
return void

initChatWith() public method

public initChatWith ( int user ) : DTChatRoom
user int
return DTChatRoom

sendMesage() public method

public sendMesage ( int type, int room, String message ) : void
type int
room int
message String
return void