|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xnap.plugin.opennap.net.msg.SendWorker
public class SendWorker
| Field Summary | |
|---|---|
static long |
MAX_TIME_PER_SERVER
Spent that much time on a queue per run. |
static long |
STALL_INTERVAL
|
| Constructor Summary | |
|---|---|
SendWorker(java.lang.String name,
MessageSender parent)
|
|
| Method Summary | |
|---|---|
void |
run()
|
boolean |
sendMessages(SendQueue q)
Sends the message from q until timeout is expired. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static long MAX_TIME_PER_SERVER
public static long STALL_INTERVAL
| Constructor Detail |
|---|
public SendWorker(java.lang.String name,
MessageSender parent)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablepublic boolean sendMessages(SendQueue q)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||