| Package | Description |
|---|---|
| com.github.steveice10.packetlib | |
| com.github.steveice10.packetlib.tcp |
| Modifier and Type | Method and Description |
|---|---|
PacketProtocol |
Session.getPacketProtocol()
Gets the packet protocol of the session.
|
| Modifier and Type | Method and Description |
|---|---|
Supplier<? extends PacketProtocol> |
Server.getPacketProtocol()
Gets the packet protocol of the server.
|
Supplier<? extends PacketProtocol> |
AbstractServer.getPacketProtocol() |
| Constructor and Description |
|---|
AbstractServer(String host,
int port,
Supplier<? extends PacketProtocol> protocolSupplier) |
| Modifier and Type | Method and Description |
|---|---|
PacketProtocol |
TcpSession.getPacketProtocol() |
| Constructor and Description |
|---|
TcpClientSession(String host,
int port,
PacketProtocol protocol) |
TcpClientSession(String host,
int port,
PacketProtocol protocol,
ProxyInfo proxy) |
TcpClientSession(String host,
int port,
String bindAddress,
int bindPort,
PacketProtocol protocol) |
TcpClientSession(String host,
int port,
String bindAddress,
int bindPort,
PacketProtocol protocol,
ProxyInfo proxy) |
TcpServerSession(String host,
int port,
PacketProtocol protocol,
TcpServer server) |
TcpSession(String host,
int port,
PacketProtocol protocol) |
| Constructor and Description |
|---|
TcpServer(String host,
int port,
Supplier<? extends PacketProtocol> protocol) |
Copyright © 2021. All rights reserved.