Package io.aeron.driver
Class DriverConductorProxy
java.lang.Object
io.aeron.driver.DriverConductorProxy
Proxy for sending commands to the
DriverConductor.-
Method Summary
Modifier and TypeMethodDescriptionvoidchannelEndpointError(long statusIndicatorId, Exception ex) Notify the conductor indicating an error with a channel endpoint.voidcloseReceiveDestination(ReceiveDestinationTransport destinationTransport) Close a receive destination.booleanIs the driver conductor not concurrent with the sender and receiver threads.voidreResolveControl(String endpoint, UdpChannel udpChannel, ReceiveChannelEndpoint channelEndpoint, InetSocketAddress address) Re-resolve a control endpoint for a channel.voidreResolveEndpoint(String endpoint, SendChannelEndpoint channelEndpoint, InetSocketAddress address) Request the conductor re-resolve an endpoint address.voidresponseConnected(long responseCorrelationId) Handle notify that a response channel has connected.voidresponseSetup(long responseCorrelationId, int responseSessionId) Handle a response setup message from the remote "server".Get the threading mode of the driver.toString()
-
Method Details
-
notConcurrent
public boolean notConcurrent()Is the driver conductor not concurrent with the sender and receiver threads.- Returns:
- true if the
DriverConductoris on the same thread as the sender and receiver.
-
threadingMode
Get the threading mode of the driver.- Returns:
- ThreadingMode of the driver.
-
toString
-
channelEndpointError
Notify the conductor indicating an error with a channel endpoint.- Parameters:
statusIndicatorId- representing the channel.ex- cause of the error.
-
reResolveEndpoint
public void reResolveEndpoint(String endpoint, SendChannelEndpoint channelEndpoint, InetSocketAddress address) Request the conductor re-resolve an endpoint address.- Parameters:
endpoint- in string format.channelEndpoint- that the endpoint belongs to.address- of previous resolution.
-
reResolveControl
public void reResolveControl(String endpoint, UdpChannel udpChannel, ReceiveChannelEndpoint channelEndpoint, InetSocketAddress address) Re-resolve a control endpoint for a channel.- Parameters:
endpoint- to be re-resolved.udpChannel- which contained the endpoint.channelEndpoint- to which the endpoint belongs.address- of previous resolution.
-
closeReceiveDestination
Close a receive destination.- Parameters:
destinationTransport- to have its indicators closed.
-
responseSetup
public void responseSetup(long responseCorrelationId, int responseSessionId) Handle a response setup message from the remote "server".- Parameters:
responseCorrelationId- correlationId of the subscription that will handle responses.responseSessionId- sessionId that will be associated with the incoming messages.
-
responseConnected
public void responseConnected(long responseCorrelationId) Handle notify that a response channel has connected.- Parameters:
responseCorrelationId- correlationId of the subscription that will handle responses.
-