public class MonitoredServerSocket4TestCase extends MonitoredSocket4TestCaseBase
MonitoredSocket4TestCaseBase.BytesReceivedCounterHandler, MonitoredSocket4TestCaseBase.BytesSentCounterHandler, MonitoredSocket4TestCaseBase.CounterHandlerBase, MonitoredSocket4TestCaseBase.Item, MonitoredSocket4TestCaseBase.MessagesSentCounterHandler, MonitoredSocket4TestCaseBase.TwoClientsActionEXERCISES_COUNT| Constructor and Description |
|---|
MonitoredServerSocket4TestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected ClientConfiguration |
clientConfiguration() |
protected ServerConfiguration |
serverConfiguration() |
protected CountingSocket4Factory |
serverCountingSocketFactory() |
void |
setUp() |
void |
testBytesReceivedSingleClient() |
void |
testBytesReceivedTwoClients() |
void |
testBytesSentSingleClient() |
void |
testBytesSentTwoClients() |
void |
testMessagesSentSingleClient() |
void |
testMessagesSentTwoClients() |
protected void |
waitForClientConnectionCompleted(int expectedCommitCount) |
advanceClock, configureClock, configuredSocketFactoryFor, openNewSession, resetAllBeanCountersFor, resetBeanCountersFor, server, setupCountingSocketFactory, tearDown, withTwoClientstempFilepublic void setUp()
setUp in interface TestLifeCyclesetUp in class MonitoredSocket4TestCaseBaseprotected ClientConfiguration clientConfiguration()
clientConfiguration in class MonitoredSocket4TestCaseBaseprotected ServerConfiguration serverConfiguration()
serverConfiguration in class MonitoredSocket4TestCaseBasepublic void testBytesSentSingleClient()
throws java.lang.Exception
java.lang.Exceptionpublic void testBytesReceivedSingleClient()
public void testMessagesSentSingleClient()
public void testBytesSentTwoClients()
public void testBytesReceivedTwoClients()
public void testMessagesSentTwoClients()
protected void waitForClientConnectionCompleted(int expectedCommitCount)
protected CountingSocket4Factory serverCountingSocketFactory()