public interface CSInitializer
| 限定符和类型 | 方法和说明 |
|---|---|
void |
bindHandlers(List<ActorInfo> actorInfos)
bind Actor, publish handler's service
|
Transporter |
buildTransporter()
build a Transporter by based network framework
|
void |
close() |
void |
init(CSInitializerConfig config)
initialize the framework
|
String |
type()
类型名称,比如 akka, netty4,httpJson
|
String type()
void init(CSInitializerConfig config)
config - configTransporter buildTransporter()
void bindHandlers(List<ActorInfo> actorInfos)
actorInfos - actor infosvoid close()
throws IOException
IOExceptionCopyright © 2024. All rights reserved.