Uses of Class
pictionary.message.Message

Packages that use Message
pictionary.message   
pictionary.pictionaryclient   
pictionary.pictionaryserver   
 

Uses of Message in pictionary.message
 

Methods in pictionary.message that return Message
static
<T> Message
Message.CreateDataMessage(Message.MessageType messageType, java.lang.String client, T data)
          Creates and returns a Message object containing data.
static
<T> Message
Message.CreateDataMessage(Message.MessageType messageType, T data)
          Convenience method.
 

Uses of Message in pictionary.pictionaryclient
 

Fields in pictionary.pictionaryclient with type parameters of type Message
private  java.util.concurrent.LinkedBlockingQueue<Message> PictionaryClient.ServerConnection.outgoingMessages
          Messages waiting to be sent to the server by PictionaryClient.ServerConnection.sendThread.
 

Methods in pictionary.pictionaryclient with parameters of type Message
private  void PictionaryClient.ServerConnection.handleMessage(Message message)
          This method is called when a Message has been received in PictionaryClient.ServerConnection.ReceiveThread.
private  void PictionaryClient.send(Message message)
          Sends a Message to the server using PictionaryClient.ServerConnection.send(Message).
private  void PictionaryClient.ServerConnection.send(Message message)
          Simply adds a message to PictionaryClient.ServerConnection.outgoingMessages.
 

Uses of Message in pictionary.pictionaryserver
 

Fields in pictionary.pictionaryserver declared as Message
(package private)  Message PictionaryServer.ClientConnectionMessage.message
           
 

Fields in pictionary.pictionaryserver with type parameters of type Message
private  java.util.concurrent.LinkedBlockingQueue<Message> PictionaryServer.ClientConnection.outgoingMessages
          A collection of messages waiting to be sent to the client.
 

Methods in pictionary.pictionaryserver with parameters of type Message
private  void PictionaryServer.messageReceived(PictionaryServer.ClientConnection client, Message message)
          Called when a new message has been received
 void PictionaryServer.ClientConnection.send(Message message)
          Adds a message to PictionaryServer.ClientConnection.outgoingMessages.
private  void PictionaryServer.sendToAll(Message message)
          Sends a message to all clients.
private  boolean PictionaryServer.sendToOne(java.lang.String recipient, Message message)
          Sends a message to one client.