Interface BarrageSessionFactory

All Known Subinterfaces:
BarrageSubcomponent
All Known Implementing Classes:
BarrageSessionFactoryConfig.Factory

public interface BarrageSessionFactory
  • Method Details

    • newBarrageSession

      BarrageSession newBarrageSession()
      Creates a new BarrageSession. Closing the session does not close the managedChannel().
      Returns:
      the new barrage 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