public class DebugChannelEndpointConfiguration extends Object
DebugSendChannelEndpoint and DebugReceiveChannelEndpoint
are load.| Modifier and Type | Field and Description |
|---|---|
static String |
RECEIVE_CONTROL_LOSS_RATE_PROP_NAME
Property name for receiver outbound control loss rate.
|
static String |
RECEIVE_CONTROL_LOSS_SEED_PROP_NAME
Property name for receiver outbound control loss seed.
|
static String |
RECEIVE_DATA_LOSS_RATE_PROP_NAME
Property name for receiver inbound data loss rate.
|
static String |
RECEIVE_DATA_LOSS_SEED_PROP_NAME
Property name for receiver inbound data loss seed.
|
static String |
SEND_CONTROL_LOSS_RATE_PROP_NAME
Property name for sender inbound control loss rate.
|
static String |
SEND_CONTROL_LOSS_SEED_PROP_NAME
Property name for sender inbound control loss seed.
|
static String |
SEND_DATA_LOSS_RATE_PROP_NAME
Property name for sender outbound data loss rate.
|
static String |
SEND_DATA_LOSS_SEED_PROP_NAME
Property name for sender outbound data loss seed.
|
| Constructor and Description |
|---|
DebugChannelEndpointConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static LossGenerator |
lossGeneratorSupplier(double lossRate,
long lossSeed)
Supplier of
LossGenerators with provided loss rate and seed for randomisation. |
static LossGenerator |
receiveControlLossGeneratorSupplier()
The supplier of
LossGenerators for the receiving end of a control stream. |
static LossGenerator |
receiveDataLossGeneratorSupplier()
The supplier of
LossGenerators for the receiving end of a data stream. |
static LossGenerator |
sendControlLossGeneratorSupplier()
The supplier of
LossGenerators for the send end of a control stream. |
static LossGenerator |
sendDataLossGeneratorSupplier()
The supplier of
LossGenerators for the send end of a data stream. |
public static final String RECEIVE_DATA_LOSS_RATE_PROP_NAME
public static final String RECEIVE_DATA_LOSS_SEED_PROP_NAME
public static final String RECEIVE_CONTROL_LOSS_RATE_PROP_NAME
public static final String RECEIVE_CONTROL_LOSS_SEED_PROP_NAME
public static final String SEND_DATA_LOSS_RATE_PROP_NAME
public static final String SEND_DATA_LOSS_SEED_PROP_NAME
public static final String SEND_CONTROL_LOSS_RATE_PROP_NAME
public static final String SEND_CONTROL_LOSS_SEED_PROP_NAME
public static LossGenerator lossGeneratorSupplier(double lossRate, long lossSeed)
LossGenerators with provided loss rate and seed for randomisation.lossRate - to generate at.lossSeed - to initialise.LossGenerators with provided loss rate and seed.public static LossGenerator receiveDataLossGeneratorSupplier()
LossGenerators for the receiving end of a data stream.LossGenerators for the receiving end of a data stream.public static LossGenerator receiveControlLossGeneratorSupplier()
LossGenerators for the receiving end of a control stream.LossGenerators for the receiving end of a control stream.public static LossGenerator sendDataLossGeneratorSupplier()
LossGenerators for the send end of a data stream.LossGenerators for the send end of a data stream.public static LossGenerator sendControlLossGeneratorSupplier()
LossGenerators for the send end of a control stream.LossGenerators for the send end of a control stream.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.