Interface FlightSessionFactory

All Known Subinterfaces:
FlightSubcomponent
All Known Implementing Classes:
FlightSessionFactoryConfig.Factory

public interface FlightSessionFactory
  • Method Details

    • newFlightSession

      FlightSession newFlightSession()
      Creates a new FlightSession. Closing the session does not close the managedChannel().
      Returns:
      the new flight session
    • managedChannel

      io.grpc.ManagedChannel managedChannel()
      The ManagedChannel associated with this factory. Use ManagedChannel.shutdown() when this factory and sessions are no longer needed.
      Returns:
      the managed channel