|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IMessage | |
---|---|
ch.epfl.lpd.ids.client | Package containing the classes used for the chat client. |
ch.epfl.lpd.ids.serialization | Package containing definition and implementation of a message. |
ch.epfl.lpd.ids.server | Package containing the classes representing the chat server. |
Uses of IMessage in ch.epfl.lpd.ids.client |
---|
Methods in ch.epfl.lpd.ids.client with parameters of type IMessage | |
---|---|
void |
ChatClient.sendMessage(IMessage msg)
Method called by the ClientGUI when
the user wants to send a message to the other chat
clients. |
void |
IChatClient.sendMessage(IMessage msg)
Method called when the client wants to send a message. |
Uses of IMessage in ch.epfl.lpd.ids.serialization |
---|
Classes in ch.epfl.lpd.ids.serialization that implement IMessage | |
---|---|
class |
Message
Class implementing the IMessage specification. |
Uses of IMessage in ch.epfl.lpd.ids.server |
---|
Fields in ch.epfl.lpd.ids.server with type parameters of type IMessage | |
---|---|
protected IBlockingQueue<IMessage> |
InternalClient.blockingQueue
The IBlockingQueue used for
retrieving the different messages sent by the other chat
clients. |
Methods in ch.epfl.lpd.ids.server that return IMessage | |
---|---|
IMessage |
ChatServer.getMessage(String username)
Method called by the chat client to get the last message sent from a chat client to this server. |
IMessage |
IServer.getMessage(String username)
Method used to get the last message sent from a chat client to this server. |
IMessage |
InternalClient.getNextMessage()
Method used to retrieve the last element, not already taken, that is in the IBlockingQueue of
this internal client. |
Methods in ch.epfl.lpd.ids.server with parameters of type IMessage | |
---|---|
void |
InternalClient.putMessage(IMessage msg)
Method used to put a new IMessage into the IBlockingQueue of this internal
client. |
void |
ChatServer.sendMessage(String username,
IMessage msg)
Method called by the chat client to send the messages to this server. |
void |
IServer.sendMessage(String username,
IMessage msg)
Method called by a chat client on the server when the chat client wants to send a new message. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |