games.strategy.engine.chat
Interface IChatController

All Superinterfaces:
IRemote
All Known Implementing Classes:
ChatController

public interface IChatController
extends IRemote

A central controller of who is in the chat.

When joining you get a list of all the players currently in the chat

To handle un-ordered comings and going into the chat, we send a version number with each chat change. The init method is the sum of all changes < the version number returned in the init message.

Author:
sgb

Method Summary
 Tuple<java.util.List<INode>,java.lang.Long> joinChat()
          Join the chat, returns the chatters currently in the chat.
 void leaveChat()
          Leave the chat, and ask that everyone stops bothering me.
 

Method Detail

joinChat

Tuple<java.util.List<INode>,java.lang.Long> joinChat()
Join the chat, returns the chatters currently in the chat.


leaveChat

void leaveChat()
Leave the chat, and ask that everyone stops bothering me.