public class Provisioning extends Object implements ProvisioningMBean
| Constructor and Description |
|---|
Provisioning(Aeron aeron)
Construct using the specified Aeron instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createEchoPair(long correlationId,
String subChannel,
int subStreamId,
String pubChannel,
int pubStreamId)
Create a pub/sub echo pair.
|
int |
doWork()
poll and send messages.
|
void |
removeAll()
Remove all existing echo pairs.
|
public Provisioning(Aeron aeron)
aeron - Aeron client instance.public int doWork()
public void removeAll()
removeAll in interface ProvisioningMBeanpublic void createEchoPair(long correlationId,
String subChannel,
int subStreamId,
String pubChannel,
int pubStreamId)
createEchoPair in interface ProvisioningMBeancorrelationId - user specified correlationId to track the echo pair.subChannel - channel used for subscription.subStreamId - stream id used for subscription.pubChannel - channel used for publication.pubStreamId - stream id used for publication.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.