public class RsfNetManager extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
RsfNetManager(RsfEnvironment rsfEnvironment,
ReceivedAdapter receivedAdapter) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
acceptChannel(RsfChannel rsfChannel) |
Connector |
findConnector(String protocol)
查找RPC连接器。
|
Connector |
findConnectorBySechma(String sechma) |
RsfEnvironment |
getRsfEnvironment()
环境对象
|
Set<String> |
runProtocols()
获取运行着哪些协议
|
void |
shutdown()
销毁
|
void |
start(AppContext appContext)
启动RSF上配置的所有连接器(传入方向)。
|
public RsfNetManager(RsfEnvironment rsfEnvironment, ReceivedAdapter receivedAdapter)
public RsfEnvironment getRsfEnvironment()
public void start(AppContext appContext)
protected boolean acceptChannel(RsfChannel rsfChannel) throws IOException
IOExceptionpublic void shutdown()
Copyright © 2020–2021. All rights reserved.