Class handler for comet chat.