|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QueueListener
Method Summary | |
---|---|
boolean |
queueMaxed(Client client,
Message message)
Call back to notify if a message for a client will result in the message queue exceeding Client.getMaxQueue() . |
Method Detail |
---|
boolean queueMaxed(Client client, Message message)
Client.getMaxQueue()
.
This is called with the client instance locked, so it is safe for the
handler to manipulate the queue returned by Client.getQueue()
, but
action in the callback that may result in another Client instance should be
avoided as that would risk deadlock.
client
- message
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |