public class NettyInbound extends NettyEndpoint
consoleCHANNEL_TCP, CHANNEL_UDPcontainerBRICK_ENDPOINT| 构造器和说明 |
|---|
NettyInbound() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
bootstrap(io.netty.channel.ChannelInitializer<io.netty.channel.Channel> initializer)
引导
|
protected void |
close()
关闭
|
protected io.netty.channel.socket.DatagramChannel |
newDatagramChannel() |
protected io.netty.channel.ServerChannel |
newServerChannel() |
protected void |
open()
打开服务端口
|
protected void |
open(io.netty.channel.socket.DatagramChannel channel) |
protected void |
open(io.netty.channel.ServerChannel channel) |
protected void |
send(io.netty.channel.ChannelHandlerContext context,
Object message)
发送消息
|
getIdentity, receive, setIdentitygetAddress, getChannel, getNetworkInterface, getProtocol, newAddressdestroy, getHandler, getParameter, getParameters, getProtocolName, getStatus, initial, isActive, name, operateprotected final void open()
open 在类中 NettyEndpointprotected final void bootstrap(io.netty.channel.ChannelInitializer<io.netty.channel.Channel> initializer)
NettyEndpointbootstrap 在类中 NettyEndpointprotected io.netty.channel.socket.DatagramChannel newDatagramChannel()
protected void open(io.netty.channel.socket.DatagramChannel channel)
protected io.netty.channel.ServerChannel newServerChannel()
protected void open(io.netty.channel.ServerChannel channel)
protected void send(io.netty.channel.ChannelHandlerContext context,
Object message)
NettyEndpointsend 在类中 NettyEndpointprotected void close()
NettyEndpointclose 在类中 NettyEndpointCopyright © 2024. All rights reserved.