public class TestControlChannel extends XmlControlChannel implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
static int |
DT_DISABLE |
static int |
DT_MAX_INTERVAL_MS |
static int |
DT_MIN_INTERVAL_MS |
Constructor and Description |
---|
TestControlChannel(Multiplexer a_multiplexer,
IServiceContainer a_serviceContainer)
Creates a new DummyTrafficControlChannel instance.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
This is the implementation for the dummy traffic thread.
|
void |
setMessageInterval(int a_interval)
Changes the dummy traffic interval.
|
void |
stop()
Holds the internal dummy traffic thread.
|
sendXmlMessage
sendByteMessage
isSending, processReceivedPacket, sendRawMessage
createEmptyMixPacket, deleteChannel, isClosed, multiplexerClosed, sendPacket
public static final int DT_MIN_INTERVAL_MS
public static final int DT_MAX_INTERVAL_MS
public static final int DT_DISABLE
public TestControlChannel(Multiplexer a_multiplexer, IServiceContainer a_serviceContainer)
public void run()
run
in interface java.lang.Runnable
public void stop()
public void setMessageInterval(int a_interval)
a_interval
- The new dummy traffic interval in milliseconds or -1,
if dummy traffic shall be disabled.Copyright © 2023. All rights reserved.