public interface INettySocketHandler
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close(int moduleId,
Map<String,Object> para) |
int |
getConnectCount() |
void |
notifyClosed(io.netty.channel.Channel one) |
void |
notifyConnected(io.netty.handler.codec.http.HttpRequest req,
io.netty.channel.Channel one) |
String |
receive(io.netty.channel.Channel channel,
String msg) |
boolean |
send(Object msg,
int moduleId,
Map<String,Object> para) |
boolean |
send(String uuid,
String msg,
int moduleId) |
int |
sendToAll(String msg,
int moduleId) |
void |
setCentral(INettySocketCentral central) |
boolean |
valicodeSocket(io.netty.handler.codec.http.HttpRequest req) |
void setCentral(INettySocketCentral central)
void notifyConnected(io.netty.handler.codec.http.HttpRequest req,
io.netty.channel.Channel one)
throws Exception
Exceptionint sendToAll(String msg, int moduleId)
boolean valicodeSocket(io.netty.handler.codec.http.HttpRequest req)
throws Exception
Exceptionint getConnectCount()
Copyright © 2019. All rights reserved.