public final class ControlResponseAdapter extends Object
| Constructor and Description |
|---|
ControlResponseAdapter(ControlResponseListener controlResponseListener,
RecordingSignalConsumer recordingSignalConsumer,
Subscription subscription,
int fragmentLimit)
Create an adapter for a given subscription to an archive for control response messages.
|
ControlResponseAdapter(ControlResponseListener controlResponseListener,
Subscription subscription,
int fragmentLimit)
Create an adapter for a given subscription to an archive for control response messages.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
dispatchDescriptor(RecordingDescriptorDecoder decoder,
RecordingDescriptorConsumer consumer)
Dispatch a descriptor message to a consumer by reading the fields in the correct order.
|
int |
poll()
Poll for recording events and dispatch them to the
ControlResponseListener for this instance. |
public ControlResponseAdapter(ControlResponseListener controlResponseListener, Subscription subscription, int fragmentLimit)
controlResponseListener - for dispatching responses.subscription - to poll for responses.fragmentLimit - to apply for each polling operation.public ControlResponseAdapter(ControlResponseListener controlResponseListener, RecordingSignalConsumer recordingSignalConsumer, Subscription subscription, int fragmentLimit)
controlResponseListener - for dispatching responses.recordingSignalConsumer - for dispatching recording signals.subscription - to poll for responses.fragmentLimit - to apply for each polling operation.public int poll()
ControlResponseListener for this instance.public static void dispatchDescriptor(RecordingDescriptorDecoder decoder, RecordingDescriptorConsumer consumer)
decoder - which wraps the encoded message ready for reading.consumer - to which the decoded fields should be passed.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.