|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgecco.communication.messages.MessageQueue
A simple queue for messages to be sent, used both in the server and client part of the communication packages.
Constructor Summary | |
MessageQueue()
Constructor for the MessageQueue object |
Method Summary | |
void |
add(Message mess)
Description of the Method |
Message |
get()
Description of the Method |
boolean |
isEmpty()
Gets the Empty attribute of the MessageQueue object |
int |
size()
Description of the Method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MessageQueue()
Method Detail |
public Message get()
public boolean isEmpty()
public int size()
public void add(Message mess)
mess
- Description of Parameter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |