cgl.narada.transport.udp
Class UDPSenderThread

java.lang.Object
  extended by cgl.narada.transport.udp.UDPSenderThread
All Implemented Interfaces:
TransportDebugFlags

public class UDPSenderThread
extends Object
implements TransportDebugFlags

The sender thread involved in UDP communications. Send messages to the specified InetAddress and port specified during initializations.


Field Summary
 
Fields inherited from interface cgl.narada.transport.TransportDebugFlags
IPSecLink_Debug, IPSecLinkFactory_Debug, IPSecReceiverThread_Debug, IPSecSenderThread_Debug, IPSecServerThread_Debug, MulticastLink_Debug, MulticastLinkFactory_Debug, MulticastReceiverThread_Debug, MulticastSenderThread_Debug, NIOTCPLink_Debug, NIOTCPLinkFactory_Debug, NIOTCPReceiverThread_Debug, NIOTCPSenderThread_Debug, NIOTCPServerThread_Debug, PoolTCPLink_Debug, PoolTCPLinkFactory_Debug, PoolTCPLinkReceiver_Debug, PoolTCPLinkSender_Debug, PoolTCPServerThread_Debug, PTCPLink_Debug, PTCPLinkFactory_Debug, PTCPReceiverThread_Debug, PTCPSenderThread_Debug, PTCPServerThread_Debug, ReceiveTask_Debug, RTPLink_Debug, RTPLinkFactory_Debug, RTPReceiverThread_Debug, RTPSenderThread_Debug, SendTask_Debug, TCPLink_Debug, TCPLinkFactory_Debug, TCPReceiverThread_Debug, TCPSenderThread_Debug, TCPServerThread_Debug, TransmissionManager_Debug, TransportHandlerImpl_Debug, UDPLink_Debug, UDPLinkFactory_Debug, UDPReceiverThread_Debug, UDPSenderThread_Debug
 
Constructor Summary
UDPSenderThread(DatagramSocket socket, InetAddress ia, int port, UDPLink udpLink)
           
 
Method Summary
 void run()
           
 void sendData(byte[] data)
           
 void sendData(byte[] data, String dataType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDPSenderThread

public UDPSenderThread(DatagramSocket socket,
                       InetAddress ia,
                       int port,
                       UDPLink udpLink)
Method Detail

sendData

public void sendData(byte[] data,
                     String dataType)
              throws TransportException
Throws:
TransportException

sendData

public void sendData(byte[] data)
              throws TransportException
Throws:
TransportException

run

public void run()


For comments and suggestions please send e-mail to The NaradaBrokering Project