类 InboundClientOption
InboundClientOption class.
- 版本:
- 1.0.0
- 作者:
- : zhouhailin
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明addEvents.addListener(IEslEventListener listener) addListener.addServerOption(ServerOption serverOption) addServerOption.intcallbackExecutorThread.callbackExecutorThread(int callbackExecutorThread) callbackExecutorThread.cancelEvents.defaultPassword.defaultPassword(String defaultPassword) defaultPassword.intdefaultTimeoutSeconds.defaultTimeoutSeconds(int defaultTimeoutSeconds) defaultTimeoutSeconds.booleandisable public executor thread pool then message thread safety.disablePublicExecutor(boolean disablePublicExecutor) disable public executor thread pool then message thread safety.eventListener.eventListener(EventListener eventListener) eventListener.booleaneventPerformance.eventPerformance(boolean eventPerformance) eventPerformance.longeventPerformanceCostTime.eventPerformanceCostTime(long eventPerformanceCostTime) eventPerformanceCostTime.events()events.listeners.booleanperformance.performance(boolean performance) performance.longperformanceCostTime.performanceCostTime(long performanceCostTime) performanceCostTime.intprivateExecutorThread.privateExecutorThread(int privateExecutorThread) privateExecutorThread.intpublicExecutorThread.publicExecutorThread(int publicExecutorThread) publicExecutorThread.intrcvBufSize.rcvBufSize(int rcvBufSize) rcvBufSize.intreaderIdleTimeSeconds.readerIdleTimeSeconds(int readerIdleTimeSeconds) readerIdleTimeSeconds.intreadTimeoutSeconds.readTimeoutSeconds(int readTimeoutSeconds) readTimeoutSeconds.removeListener(IEslEventListener listener) removeListener.removeServerOption(ServerOption serverOption) removeServerOption.serverAddrOption.serverConnectionListener.serverConnectionListener(ServerConnectionListener serverConnectionListener) serverConnectionListener.serverOptionListener.serverOptionListener(ServerOptionListener serverOptionListener) serverOptionListener.serverOptions.intsndBufSize.sndBufSize(int sndBufSize) sndBufSize.intworkerGroupThread.workerGroupThread(int workerGroupThread) workerGroupThread.
-
构造器详细资料
-
InboundClientOption
public InboundClientOption()
-
-
方法详细资料
-
sndBufSize
public int sndBufSize()sndBufSize.
- 返回:
- a int.
-
sndBufSize
sndBufSize.
- 参数:
sndBufSize- a int.- 返回:
- a
InboundClientOptionobject.
-
rcvBufSize
public int rcvBufSize()rcvBufSize.
- 返回:
- a int.
-
rcvBufSize
rcvBufSize.
- 参数:
rcvBufSize- a int.- 返回:
- a
InboundClientOptionobject.
-
workerGroupThread
public int workerGroupThread()workerGroupThread.
- 返回:
- a int.
-
workerGroupThread
workerGroupThread.
- 参数:
workerGroupThread- a int.- 返回:
- a
InboundClientOptionobject.
-
publicExecutorThread
public int publicExecutorThread()publicExecutorThread.
- 返回:
- a int.
-
publicExecutorThread
publicExecutorThread.
- 参数:
publicExecutorThread- a int.- 返回:
- a
InboundClientOptionobject.
-
privateExecutorThread
public int privateExecutorThread()privateExecutorThread.
- 返回:
- a int.
-
privateExecutorThread
privateExecutorThread.
- 参数:
privateExecutorThread- a int.- 返回:
- a
InboundClientOptionobject.
-
callbackExecutorThread
public int callbackExecutorThread()callbackExecutorThread.
- 返回:
- a int.
-
callbackExecutorThread
callbackExecutorThread.
- 参数:
callbackExecutorThread- a int.- 返回:
- a
InboundClientOptionobject.
-
defaultTimeoutSeconds
public int defaultTimeoutSeconds()defaultTimeoutSeconds.
- 返回:
- a int.
-
defaultTimeoutSeconds
defaultTimeoutSeconds.
- 参数:
defaultTimeoutSeconds- a int.- 返回:
- a
InboundClientOptionobject.
-
defaultPassword
defaultPassword.
- 返回:
- a
Stringobject.
-
defaultPassword
defaultPassword.
- 参数:
defaultPassword- aStringobject.- 返回:
- a
InboundClientOptionobject.
-
readTimeoutSeconds
public int readTimeoutSeconds()readTimeoutSeconds.
- 返回:
- a
Integerobject.
-
readTimeoutSeconds
readTimeoutSeconds.
- 参数:
readTimeoutSeconds- aIntegerobject.- 返回:
- a
InboundClientOptionobject.
-
readerIdleTimeSeconds
public int readerIdleTimeSeconds()readerIdleTimeSeconds.
- 返回:
- a
Integerobject.
-
readerIdleTimeSeconds
readerIdleTimeSeconds.
读空闲时长
- 参数:
readerIdleTimeSeconds- aIntegerobject.- 返回:
- a
InboundClientOptionobject.
-
disablePublicExecutor
public boolean disablePublicExecutor()disable public executor thread pool then message thread safety. 处理事件消息时不使用独立线程池,可以使得消息线程安全
- 返回:
- a boolean.
-
disablePublicExecutor
disable public executor thread pool then message thread safety. 处理事件消息时不使用独立线程池,可以使得消息线程安全
- 参数:
disablePublicExecutor- a boolean.- 返回:
- a
InboundClientOptionobject.
-
performance
public boolean performance()performance.
- 返回:
- a boolean.
-
performance
performance.
- 参数:
performance- a boolean.- 返回:
- a
InboundClientOptionobject.
-
performanceCostTime
public long performanceCostTime()performanceCostTime.
- 返回:
- a long.
-
performanceCostTime
performanceCostTime.
- 参数:
performanceCostTime- a long.- 返回:
- a
InboundClientOptionobject.
-
eventPerformance
public boolean eventPerformance()eventPerformance.
- 返回:
- a boolean.
-
eventPerformance
eventPerformance.
- 参数:
eventPerformance- a boolean.- 返回:
- a
InboundClientOptionobject.
-
eventPerformanceCostTime
public long eventPerformanceCostTime()eventPerformanceCostTime.
- 返回:
- a long.
-
eventPerformanceCostTime
eventPerformanceCostTime.
- 参数:
eventPerformanceCostTime- a long.- 返回:
- a
InboundClientOptionobject.
-
serverOptionListener
serverOptionListener.
- 返回:
- a
ServerOptionListenerobject.
-
serverOptionListener
serverOptionListener.
- 参数:
serverOptionListener- aServerOptionListenerobject.- 返回:
- a
InboundClientOptionobject.
-
serverConnectionListener
serverConnectionListener.
- 返回:
- a
ServerOptionListenerobject.
-
serverConnectionListener
public InboundClientOption serverConnectionListener(ServerConnectionListener serverConnectionListener) serverConnectionListener.
- 参数:
serverConnectionListener- aServerConnectionListenerobject.- 返回:
- a
InboundClientOptionobject.
-
serverAddrOption
serverAddrOption.
- 返回:
- a
ServerAddrOptionobject.
-
serverOptions
serverOptions.
- 返回:
- a
Listobject.
-
addServerOption
addServerOption.
- 参数:
serverOption- aServerOptionobject.- 返回:
- a
InboundClientOptionobject.
-
removeServerOption
removeServerOption.
- 参数:
serverOption- aServerOptionobject.- 返回:
- a
InboundClientOptionobject.
-
addListener
addListener.
- 参数:
listener- aIEslEventListenerobject.- 返回:
- a
InboundClientOptionobject.
-
removeListener
removeListener.
- 参数:
listener- aIEslEventListenerobject.- 返回:
- a
InboundClientOptionobject.
-
listeners
listeners.
- 返回:
- a
Listobject.
-
eventListener
eventListener.
- 返回:
- a
EventListenerobject.
-
eventListener
eventListener.
- 参数:
eventListener- aEventListenerobject.- 返回:
- a
InboundClientOptionobject.
-
events
events.
- 返回:
- a
Listobject.
-
addEvents
addEvents.
- 参数:
addEvents- aStringobject.- 返回:
- a
InboundClientOptionobject.
-
cancelEvents
cancelEvents.
- 返回:
- a
InboundClientOptionobject.
-