public class RconNetworkListener extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel> implements NetworkListener
| Constructor and Description |
|---|
RconNetworkListener(RconEventListener eventListener,
byte[] password,
String address,
int port) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
bind() |
void |
close() |
InetSocketAddress |
getAddress() |
protected void |
initChannel(io.netty.channel.socket.SocketChannel socketChannel) |
channelRegistered, exceptionCaught, handlerAdded, handlerRemovedpublic RconNetworkListener(RconEventListener eventListener, byte[] password, String address, int port)
public boolean bind()
bind in interface NetworkListenerpublic void close()
close in interface NetworkListenerpublic InetSocketAddress getAddress()
getAddress in interface NetworkListenerCopyright © 2018–2020. All rights reserved.