xmlBlaster 2.1.0 API

org.xmlBlaster.protocol.socket
Class SocketDriver.UDPListener

java.lang.Object
  extended by org.xmlBlaster.protocol.socket.SocketDriver.UDPListener
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
SocketDriver

 class SocketDriver.UDPListener
extends java.lang.Object
implements java.lang.Runnable

There is exactly one UDP listener thread which receives datagrams for all clients. The datagrams are forwarded to the correct client with the sessionId Only the methods publishOneway() and updateOneway() may use UDP, you can choose TCP or UDP for those messages with the plugin/socket/useUdpForOneway setting


Field Summary
(package private) static int MAX_PACKET_SIZE
           
 
Constructor Summary
SocketDriver.UDPListener()
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_PACKET_SIZE

static final int MAX_PACKET_SIZE
See Also:
Constant Field Values
Constructor Detail

SocketDriver.UDPListener

SocketDriver.UDPListener()
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.