|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tangosol.util.Base
com.tangosol.net.DatagramTest.DatagramListener
public static class DatagramTest.DatagramListener
| Field Summary | |
|---|---|
protected DatagramTest.ListenerConfig |
m_config
|
protected PrintStream |
m_pstreamLog
|
protected DatagramSocket |
m_socket
|
protected DatagramTest.StartFlag |
m_startFlag
|
| Constructor Summary | |
|---|---|
DatagramTest.DatagramListener(DatagramSocket socket,
DatagramTest.StartFlag startFlag,
DatagramTest.ListenerConfig config)
Construct the listener test object. |
|
| Method Summary | |
|---|---|
protected void |
log(DatagramTest.PacketTracker tracker)
Log the performance data from a single tracker to the log. |
protected void |
log(Map mapTracker)
Log the performance data for trackers to the log. |
protected void |
logHeader()
Output a header to the tabular log. |
void |
run()
Run the test. |
| Field Detail |
|---|
protected DatagramSocket m_socket
protected DatagramTest.StartFlag m_startFlag
protected DatagramTest.ListenerConfig m_config
protected PrintStream m_pstreamLog
| Constructor Detail |
|---|
public DatagramTest.DatagramListener(DatagramSocket socket,
DatagramTest.StartFlag startFlag,
DatagramTest.ListenerConfig config)
throws IOException
socket - socket to usestartFlag - a flag which will inform a polite publisher
that it is ok to startconfig - structure holding listener configuration
IOException| Method Detail |
|---|
public void run()
run in interface Runnableprotected void logHeader()
protected void log(Map mapTracker)
mapTracker - a map of lifetime trackers keyed on sender addressprotected void log(DatagramTest.PacketTracker tracker)
tracker - the tracker data to append to the log
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||