public class DriverProxy
extends java.lang.Object
Writes commands into the client conductor buffer.
Note: this class is not thread safe and is expecting to be called within Aeron.Context.clientLock()
.
Constructor and Description |
---|
DriverProxy(org.agrona.concurrent.ringbuffer.RingBuffer toDriverCommandBuffer,
long clientId) |
Modifier and Type | Method and Description |
---|---|
long |
addCounter(int typeId,
org.agrona.DirectBuffer keyBuffer,
int keyOffset,
int keyLength,
org.agrona.DirectBuffer labelBuffer,
int labelOffset,
int labelLength) |
long |
addCounter(int typeId,
java.lang.String label) |
long |
addDestination(long registrationId,
java.lang.String endpointChannel) |
long |
addExclusivePublication(java.lang.String channel,
int streamId) |
long |
addPublication(java.lang.String channel,
int streamId) |
long |
addRcvDestination(long registrationId,
java.lang.String endpointChannel) |
long |
addSubscription(java.lang.String channel,
int streamId) |
void |
clientClose() |
long |
clientId() |
long |
removeCounter(long registrationId) |
long |
removeDestination(long registrationId,
java.lang.String endpointChannel) |
long |
removePublication(long registrationId) |
long |
removeRcvDestination(long registrationId,
java.lang.String endpointChannel) |
long |
removeSubscription(long registrationId) |
void |
sendClientKeepalive() |
long |
timeOfLastDriverKeepaliveMs() |
public DriverProxy(org.agrona.concurrent.ringbuffer.RingBuffer toDriverCommandBuffer, long clientId)
public long timeOfLastDriverKeepaliveMs()
public long clientId()
public long addPublication(java.lang.String channel, int streamId)
public long addExclusivePublication(java.lang.String channel, int streamId)
public long removePublication(long registrationId)
public long addSubscription(java.lang.String channel, int streamId)
public long removeSubscription(long registrationId)
public void sendClientKeepalive()
public long addDestination(long registrationId, java.lang.String endpointChannel)
public long removeDestination(long registrationId, java.lang.String endpointChannel)
public long addRcvDestination(long registrationId, java.lang.String endpointChannel)
public long removeRcvDestination(long registrationId, java.lang.String endpointChannel)
public long addCounter(int typeId, org.agrona.DirectBuffer keyBuffer, int keyOffset, int keyLength, org.agrona.DirectBuffer labelBuffer, int labelOffset, int labelLength)
public long addCounter(int typeId, java.lang.String label)
public long removeCounter(long registrationId)
public void clientClose()
Copyright © 2014-2018 Real Logic Ltd. All Rights Reserved.