CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.net
Class DatagramTest.DatagramPublisher

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.net.DatagramTest.DatagramPublisher
All Implemented Interfaces:
Runnable
Enclosing class:
DatagramTest

public static class DatagramTest.DatagramPublisher
extends Base
implements Runnable

The publisher test.


Field Summary
protected  DatagramTest.PublisherConfig m_config
           
protected  DatagramSocket m_socket
           
protected  DatagramTest.StartFlag m_startFlag
           
 
Constructor Summary
DatagramTest.DatagramPublisher(DatagramSocket socket, DatagramTest.StartFlag startFlag, DatagramTest.PublisherConfig config)
          Construct the publisher test object.
 
Method Summary
 void run()
          Run the test.
 

Field Detail

m_socket

protected DatagramSocket m_socket

m_config

protected DatagramTest.PublisherConfig m_config

m_startFlag

protected DatagramTest.StartFlag m_startFlag
Constructor Detail

DatagramTest.DatagramPublisher

public DatagramTest.DatagramPublisher(DatagramSocket socket,
                                      DatagramTest.StartFlag startFlag,
                                      DatagramTest.PublisherConfig config)
                               throws IOException
Construct the publisher test object.

Parameters:
socket - socket to use
startFlag - a flag which will delay the start of a publisher
config - structure holding publisher configuration
Throws:
IOException
Method Detail

run

public void run()
Run the test.

Specified by:
run in interface Runnable

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation