|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.plugin.opennap.net.msg.MessageSender
public class MessageSender
Field Summary | |
---|---|
static int |
SEND_WORKER_COUNT
Start with this many send worker threads. |
Constructor Summary | |
---|---|
MessageSender()
|
Method Summary | |
---|---|
void |
die()
|
void |
send(ClientMessage msg)
Asynchronously Sends msg to all connected servers. |
void |
send(OpenNapServer server,
ClientMessage msg)
Asynchronously sends msg to server . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SEND_WORKER_COUNT
Constructor Detail |
---|
public MessageSender()
Method Detail |
---|
public void die()
public void send(OpenNapServer server, ClientMessage msg)
msg
to server
.
public void send(ClientMessage msg)
msg
to all connected servers.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |