Package org.opendaylight.ovsdb.lib.impl
Class NettyBootstrapFactoryImpl
java.lang.Object
org.opendaylight.ovsdb.lib.impl.NettyBootstrapFactoryImpl
- All Implemented Interfaces:
AutoCloseable
,NettyBootstrapFactory
@Singleton
public final class NettyBootstrapFactoryImpl
extends Object
implements NettyBootstrapFactory, AutoCloseable
A globally-instantiated context for use with OvsdbConnectionService.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NettyBootstrapFactoryImpl
@Inject public NettyBootstrapFactoryImpl()
-
-
Method Details
-
close
@PreDestroy public void close()- Specified by:
close
in interfaceAutoCloseable
-
newClient
public io.netty.bootstrap.Bootstrap newClient()- Specified by:
newClient
in interfaceNettyBootstrapFactory
-
newServer
public io.netty.bootstrap.ServerBootstrap newServer()- Specified by:
newServer
in interfaceNettyBootstrapFactory
-