org.xnap.plugin.opennap.net.msg
Class MessageSender

java.lang.Object
  extended by org.xnap.plugin.opennap.net.msg.MessageSender

public class MessageSender
extends java.lang.Object


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

SEND_WORKER_COUNT

public static final int SEND_WORKER_COUNT
Start with this many send worker threads.

See Also:
Constant Field Values
Constructor Detail

MessageSender

public MessageSender()
Method Detail

die

public void die()

send

public void send(OpenNapServer server,
                 ClientMessage msg)
Asynchronously sends msg to server.


send

public void send(ClientMessage msg)
Asynchronously Sends msg to all connected servers.



Copyright © 2001-2005 XNap Team. All Rights Reserved.