Package io.deephaven.client.impl
Class BarrageSessionFactoryConfig.Factory
java.lang.Object
io.deephaven.client.impl.BarrageSessionFactoryConfig.Factory
- All Implemented Interfaces:
BarrageSessionFactory
- Enclosing class:
- BarrageSessionFactoryConfig
public final class BarrageSessionFactoryConfig.Factory
extends Object
implements BarrageSessionFactory
-
Method Summary
Modifier and TypeMethodDescriptionio.grpc.ManagedChannelTheManagedChannelassociated withthisfactory.Creates a newBarrageSession.newBarrageSession(SessionConfig sessionConfig) Creates a newBarrageSessionwithsessionConfig.
-
Method Details
-
newBarrageSession
Description copied from interface:BarrageSessionFactoryCreates a newBarrageSession. Closing the session does not close theBarrageSessionFactory.managedChannel().- Specified by:
newBarrageSessionin interfaceBarrageSessionFactory- Returns:
- the new barrage session
-
newBarrageSession
Creates a newBarrageSessionwithsessionConfig. Closing the session does not close themanagedChannel().- Parameters:
sessionConfig- the session config- Returns:
- the new barrage session
-
managedChannel
public io.grpc.ManagedChannel managedChannel()Description copied from interface:BarrageSessionFactoryTheManagedChannelassociated withthisfactory. UseManagedChannel.shutdown()whenthisfactory and sessions are no longer needed.- Specified by:
managedChannelin interfaceBarrageSessionFactory- Returns:
- the managed channel
-