public class CloudNetClientAuth
extends io.netty.channel.SimpleChannelInboundHandler<de.dytanic.cloudnet.lib.network.protocol.packet.Packet>
implements de.dytanic.cloudnet.lib.network.protocol.packet.PacketSender
| Modifier and Type | Field and Description |
|---|---|
private io.netty.channel.Channel |
channel |
private CloudNetServer |
cloudNetProxyServer |
| Constructor and Description |
|---|
CloudNetClientAuth(io.netty.channel.Channel channel,
CloudNetServer cloudNetProxyServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet) |
io.netty.channel.Channel |
getChannel() |
CloudNetServer |
getCloudNetProxyServer() |
String |
getName() |
void |
send(int id,
Object element) |
void |
send(de.dytanic.cloudnet.lib.network.protocol.IProtocol iProtocol,
Object element) |
void |
send(Object object) |
void |
sendAsynchronized(int id,
Object element) |
void |
sendAsynchronized(de.dytanic.cloudnet.lib.network.protocol.IProtocol iProtocol,
Object element) |
void |
sendAsynchronized(Object object) |
void |
sendPacket(de.dytanic.cloudnet.lib.network.protocol.packet.Packet... packets) |
void |
sendPacket(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet) |
void |
sendPacketSynchronized(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet) |
void |
sendSynchronized(int id,
Object element) |
void |
sendSynchronized(de.dytanic.cloudnet.lib.network.protocol.IProtocol iProtocol,
Object element) |
void |
sendSynchronized(Object object) |
acceptInboundMessage, channelReadchannelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableprivate io.netty.channel.Channel channel
private CloudNetServer cloudNetProxyServer
public CloudNetClientAuth(io.netty.channel.Channel channel,
CloudNetServer cloudNetProxyServer)
public CloudNetServer getCloudNetProxyServer()
public String getName()
getName in interface de.dytanic.cloudnet.lib.interfaces.Nameablepublic void sendPacket(de.dytanic.cloudnet.lib.network.protocol.packet.Packet... packets)
sendPacket in interface de.dytanic.cloudnet.lib.network.protocol.packet.PacketSenderpublic void sendPacket(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet)
sendPacket in interface de.dytanic.cloudnet.lib.network.protocol.packet.PacketSenderpublic void sendPacketSynchronized(de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet)
sendPacketSynchronized in interface de.dytanic.cloudnet.lib.network.protocol.packet.PacketSenderpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionprotected void channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
de.dytanic.cloudnet.lib.network.protocol.packet.Packet packet)
throws Exception
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<de.dytanic.cloudnet.lib.network.protocol.packet.Packet>Exceptionpublic io.netty.channel.Channel getChannel()
public void send(Object object)
send in interface de.dytanic.cloudnet.lib.network.protocol.sender.IProtocolSenderpublic void sendSynchronized(Object object)
sendSynchronized in interface de.dytanic.cloudnet.lib.network.protocol.sender.IProtocolSenderpublic void sendAsynchronized(Object object)
sendAsynchronized in interface de.dytanic.cloudnet.lib.network.protocol.sender.IProtocolSenderpublic void send(de.dytanic.cloudnet.lib.network.protocol.IProtocol iProtocol,
Object element)
send in interface de.dytanic.cloudnet.lib.network.protocol.sender.IProtocolSenderpublic void send(int id,
Object element)
send in interface de.dytanic.cloudnet.lib.network.protocol.sender.IProtocolSenderpublic void sendAsynchronized(int id,
Object element)
sendAsynchronized in interface de.dytanic.cloudnet.lib.network.protocol.sender.IProtocolSenderpublic void sendAsynchronized(de.dytanic.cloudnet.lib.network.protocol.IProtocol iProtocol,
Object element)
sendAsynchronized in interface de.dytanic.cloudnet.lib.network.protocol.sender.IProtocolSenderpublic void sendSynchronized(int id,
Object element)
sendSynchronized in interface de.dytanic.cloudnet.lib.network.protocol.sender.IProtocolSenderpublic void sendSynchronized(de.dytanic.cloudnet.lib.network.protocol.IProtocol iProtocol,
Object element)
sendSynchronized in interface de.dytanic.cloudnet.lib.network.protocol.sender.IProtocolSenderCopyright © 2020. All rights reserved.