public class NettyServerModule
extends com.google.inject.AbstractModule
Constructor and Description |
---|
NettyServerModule(boolean isNettyDataTransmissionEnable)
The constructor of NettyServerModule.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configure() |
InetSocketAddress |
provideNettyBindAddress() |
InetSocketAddress |
provideS3BindAddress() |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
public NettyServerModule(boolean isNettyDataTransmissionEnable)
isNettyDataTransmissionEnable
- whether the netty data transmission is enabled or notprotected void configure()
configure
in class com.google.inject.AbstractModule
@Provides @Named(value="NettyBindAddress") public InetSocketAddress provideNettyBindAddress()
@Provides @Named(value="S3BindAddress") public InetSocketAddress provideS3BindAddress()
Copyright © 2023. All Rights Reserved.