Class DriverConductorProxy

java.lang.Object
io.aeron.driver.DriverConductorProxy

public final class DriverConductorProxy extends Object
Proxy for sending commands to the DriverConductor.
  • Method Details

    • notConcurrent

      public boolean notConcurrent()
      Is the driver conductor not concurrent with the sender and receiver threads.
      Returns:
      true if the DriverConductor is on the same thread as the sender and receiver.
    • threadingMode

      public ThreadingMode threadingMode()
      Get the threading mode of the driver.
      Returns:
      ThreadingMode of the driver.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • channelEndpointError

      public void channelEndpointError(long statusIndicatorId, Exception ex)
      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

      public void closeReceiveDestination(ReceiveDestinationTransport destinationTransport)
      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.