Skip navigation links
A B C D E F G H I N P R S T U V W 

A

AbstractServer - Class in com.github.steveice10.packetlib
 
AbstractServer(String, int, Supplier<? extends PacketProtocol>) - Constructor for class com.github.steveice10.packetlib.AbstractServer
 
addListener(ServerListener) - Method in class com.github.steveice10.packetlib.AbstractServer
 
addListener(ServerListener) - Method in interface com.github.steveice10.packetlib.Server
Adds a listener to this server.
addListener(SessionListener) - Method in interface com.github.steveice10.packetlib.Session
Adds a listener to this session.
addListener(SessionListener) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
addSession(Session) - Method in class com.github.steveice10.packetlib.AbstractServer
 
AESEncryption - Class in com.github.steveice10.packetlib.crypt
An encryption implementation using "AES/CFB8/NoPadding" encryption.
AESEncryption(Key) - Constructor for class com.github.steveice10.packetlib.crypt.AESEncryption
Creates a new AESEncryption instance.
ATTEMPT_SRV_RESOLVE - Static variable in class com.github.steveice10.packetlib.BuiltinFlags
When set to false, an SRV record resolve is not attempted.
available() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
available() - Method in interface com.github.steveice10.packetlib.io.NetInput
Gets the number of available bytes.
available() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 

B

bind() - Method in class com.github.steveice10.packetlib.AbstractServer
 
bind(boolean) - Method in class com.github.steveice10.packetlib.AbstractServer
 
bind(boolean, Runnable) - Method in class com.github.steveice10.packetlib.AbstractServer
 
bind() - Method in interface com.github.steveice10.packetlib.Server
Binds the listener to its host and port.
bind(boolean) - Method in interface com.github.steveice10.packetlib.Server
Binds the listener to its host and port.
bind(boolean, Runnable) - Method in interface com.github.steveice10.packetlib.Server
Binds the listener to its host and port.
bindImpl(boolean, Runnable) - Method in class com.github.steveice10.packetlib.tcp.TcpServer
 
BufferedPacket - Class in com.github.steveice10.packetlib.packet
 
BufferedPacket(Class<? extends Packet>, byte[]) - Constructor for class com.github.steveice10.packetlib.packet.BufferedPacket
 
BuiltinFlags - Class in com.github.steveice10.packetlib
Built-in PacketLib session flags.
ByteBufferNetInput - Class in com.github.steveice10.packetlib.io.buffer
A NetInput implementation using a ByteBuffer as a backend.
ByteBufferNetInput(ByteBuffer) - Constructor for class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
ByteBufferNetOutput - Class in com.github.steveice10.packetlib.io.buffer
A NetOutput implementation using a ByteBuf as a backend.
ByteBufferNetOutput(ByteBuffer) - Constructor for class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
ByteBufNetInput - Class in com.github.steveice10.packetlib.tcp.io
A NetInput implementation using a ByteBuf as a backend.
ByteBufNetInput(ByteBuf) - Constructor for class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
ByteBufNetOutput - Class in com.github.steveice10.packetlib.tcp.io
A NetOutput implementation using a ByteBuf as a backend.
ByteBufNetOutput(ByteBuf) - Constructor for class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 

C

call(ServerListener) - Method in class com.github.steveice10.packetlib.event.server.ServerBoundEvent
 
call(ServerListener) - Method in class com.github.steveice10.packetlib.event.server.ServerClosedEvent
 
call(ServerListener) - Method in class com.github.steveice10.packetlib.event.server.ServerClosingEvent
 
call(ServerListener) - Method in interface com.github.steveice10.packetlib.event.server.ServerEvent
Calls the event.
call(ServerListener) - Method in class com.github.steveice10.packetlib.event.server.SessionAddedEvent
 
call(ServerListener) - Method in class com.github.steveice10.packetlib.event.server.SessionRemovedEvent
 
call(SessionListener) - Method in class com.github.steveice10.packetlib.event.session.ConnectedEvent
 
call(SessionListener) - Method in class com.github.steveice10.packetlib.event.session.DisconnectedEvent
 
call(SessionListener) - Method in class com.github.steveice10.packetlib.event.session.DisconnectingEvent
 
call(SessionListener) - Method in class com.github.steveice10.packetlib.event.session.PacketErrorEvent
 
call(SessionListener) - Method in class com.github.steveice10.packetlib.event.session.PacketSendingEvent
 
call(SessionListener) - Method in interface com.github.steveice10.packetlib.event.session.SessionEvent
Calls the event.
callEvent(SessionEvent) - Method in interface com.github.steveice10.packetlib.Session
Calls an event on the listeners of this session.
callEvent(SessionEvent) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
callPacketReceived(Packet) - Method in interface com.github.steveice10.packetlib.Session
Notifies all listeners that a packet was just received.
callPacketReceived(Packet) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
callPacketSent(Packet) - Method in interface com.github.steveice10.packetlib.Session
Notifies all listeners that a packet was just sent.
callPacketSent(Packet) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
channelActive(ChannelHandlerContext) - Method in class com.github.steveice10.packetlib.tcp.TcpServerSession
 
channelActive(ChannelHandlerContext) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
channelInactive(ChannelHandlerContext) - Method in class com.github.steveice10.packetlib.tcp.TcpServerSession
 
channelInactive(ChannelHandlerContext) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
clearPackets() - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Clears all currently registered packets.
CLIENT_PROXIED_ADDRESS - Static variable in class com.github.steveice10.packetlib.BuiltinFlags
 
close() - Method in class com.github.steveice10.packetlib.AbstractServer
 
close(boolean) - Method in class com.github.steveice10.packetlib.AbstractServer
 
close(boolean, Runnable) - Method in class com.github.steveice10.packetlib.AbstractServer
 
close() - Method in interface com.github.steveice10.packetlib.Server
Closes the listener.
close(boolean) - Method in interface com.github.steveice10.packetlib.Server
Closes the listener.
close(boolean, Runnable) - Method in interface com.github.steveice10.packetlib.Server
Closes the listener.
closeImpl(boolean, Runnable) - Method in class com.github.steveice10.packetlib.tcp.TcpServer
 
com.github.steveice10.packetlib - package com.github.steveice10.packetlib
 
com.github.steveice10.packetlib.crypt - package com.github.steveice10.packetlib.crypt
 
com.github.steveice10.packetlib.event.server - package com.github.steveice10.packetlib.event.server
 
com.github.steveice10.packetlib.event.session - package com.github.steveice10.packetlib.event.session
 
com.github.steveice10.packetlib.helper - package com.github.steveice10.packetlib.helper
 
com.github.steveice10.packetlib.io - package com.github.steveice10.packetlib.io
 
com.github.steveice10.packetlib.io.buffer - package com.github.steveice10.packetlib.io.buffer
 
com.github.steveice10.packetlib.io.stream - package com.github.steveice10.packetlib.io.stream
 
com.github.steveice10.packetlib.packet - package com.github.steveice10.packetlib.packet
 
com.github.steveice10.packetlib.tcp - package com.github.steveice10.packetlib.tcp
 
com.github.steveice10.packetlib.tcp.io - package com.github.steveice10.packetlib.tcp.io
 
connect() - Method in interface com.github.steveice10.packetlib.Session
Connects this session to its host and port.
connect(boolean) - Method in interface com.github.steveice10.packetlib.Session
Connects this session to its host and port.
connect(boolean) - Method in class com.github.steveice10.packetlib.tcp.TcpClientSession
 
connect() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
connect(boolean) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
connected(ConnectedEvent) - Method in class com.github.steveice10.packetlib.event.session.SessionAdapter
 
connected(ConnectedEvent) - Method in interface com.github.steveice10.packetlib.event.session.SessionListener
Called when a session connects.
ConnectedEvent - Class in com.github.steveice10.packetlib.event.session
Called when the session connects.
ConnectedEvent(Session) - Constructor for class com.github.steveice10.packetlib.event.session.ConnectedEvent
Creates a new ConnectedEvent instance.
construct(NetInput) - Method in interface com.github.steveice10.packetlib.packet.PacketFactory
Constructs a new Packet from the given NetInput.
createClientboundPacket(int, NetInput) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Creates a new instance of a clientbound packet with the given id and read the clientbound input.
createServerboundPacket(int, NetInput) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Creates a new instance of a serverbound packet with the given id and read the serverbound input.

D

decrypt(byte[], int, int, byte[], int) - Method in class com.github.steveice10.packetlib.crypt.AESEncryption
 
decrypt(byte[], int, int, byte[], int) - Method in interface com.github.steveice10.packetlib.crypt.PacketEncryption
Decrypts the given data.
DefaultPacketHeader - Class in com.github.steveice10.packetlib.packet
The default packet header, using a varint packet length and id.
DefaultPacketHeader() - Constructor for class com.github.steveice10.packetlib.packet.DefaultPacketHeader
 
determineTransportMethod() - Static method in class com.github.steveice10.packetlib.helper.TransportHelper
 
disconnect(String) - Method in interface com.github.steveice10.packetlib.Session
Disconnects the session.
disconnect(String, Throwable) - Method in interface com.github.steveice10.packetlib.Session
Disconnects the session.
disconnect(String, Throwable) - Method in class com.github.steveice10.packetlib.tcp.TcpClientSession
 
disconnect(String) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
disconnect(String, Throwable) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
disconnected(DisconnectedEvent) - Method in class com.github.steveice10.packetlib.event.session.SessionAdapter
 
disconnected(DisconnectedEvent) - Method in interface com.github.steveice10.packetlib.event.session.SessionListener
Called when a session is disconnected.
DisconnectedEvent - Class in com.github.steveice10.packetlib.event.session
Called when the session is disconnected.
DisconnectedEvent(Session, String) - Constructor for class com.github.steveice10.packetlib.event.session.DisconnectedEvent
Creates a new DisconnectedEvent instance.
DisconnectedEvent(Session, String, Throwable) - Constructor for class com.github.steveice10.packetlib.event.session.DisconnectedEvent
Creates a new DisconnectedEvent instance.
disconnecting(DisconnectingEvent) - Method in class com.github.steveice10.packetlib.event.session.SessionAdapter
 
disconnecting(DisconnectingEvent) - Method in interface com.github.steveice10.packetlib.event.session.SessionListener
Called when a session is about to disconnect.
DisconnectingEvent - Class in com.github.steveice10.packetlib.event.session
Called when the session is about to disconnect.
DisconnectingEvent(Session, String) - Constructor for class com.github.steveice10.packetlib.event.session.DisconnectingEvent
Creates a new DisconnectingEvent instance.
DisconnectingEvent(Session, String, Throwable) - Constructor for class com.github.steveice10.packetlib.event.session.DisconnectingEvent
Creates a new DisconnectingEvent instance.

E

ENABLE_CLIENT_PROXY_PROTOCOL - Static variable in class com.github.steveice10.packetlib.BuiltinFlags
 
enableEncryption(PacketEncryption) - Method in interface com.github.steveice10.packetlib.Session
Enables encryption for this session.
enableEncryption(PacketEncryption) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
encode(ChannelHandlerContext, Packet, ByteBuf) - Method in class com.github.steveice10.packetlib.tcp.TcpPacketCodec
 
encode(ChannelHandlerContext, ByteBuf, ByteBuf) - Method in class com.github.steveice10.packetlib.tcp.TcpPacketCompression
 
encode(ChannelHandlerContext, ByteBuf, ByteBuf) - Method in class com.github.steveice10.packetlib.tcp.TcpPacketEncryptor
 
encode(ChannelHandlerContext, ByteBuf, ByteBuf) - Method in class com.github.steveice10.packetlib.tcp.TcpPacketSizer
 
encrypt(byte[], int, int, byte[], int) - Method in class com.github.steveice10.packetlib.crypt.AESEncryption
 
encrypt(byte[], int, int, byte[], int) - Method in interface com.github.steveice10.packetlib.crypt.PacketEncryption
Encrypts the given data.
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 

F

flush() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
flush() - Method in interface com.github.steveice10.packetlib.io.NetOutput
Flushes the output.
flush() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 

G

getAddress() - Method in class com.github.steveice10.packetlib.ProxyInfo
Gets the proxy's network address.
getByteBuffer() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
getByteBuffer() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
getCause() - Method in class com.github.steveice10.packetlib.event.session.DisconnectedEvent
Gets the Throwable responsible for the session disconnecting.
getCause() - Method in class com.github.steveice10.packetlib.event.session.DisconnectingEvent
Gets the Throwable responsible for the session disconnecting.
getCause() - Method in class com.github.steveice10.packetlib.event.session.PacketErrorEvent
Gets the Throwable responsible for the error.
getChannel() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
getClientboundClass(int) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Gets the packet class for a packet id.
getClientboundId(Class<? extends Packet>) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Gets the registered id of a clientbound packet class.
getClientboundId(Packet) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Gets the registered id of a clientbound Packet instance.
getCompressionThreshold() - Method in interface com.github.steveice10.packetlib.Session
Gets the compression packet length threshold for this session (-1 = disabled).
getCompressionThreshold() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
getConnectTimeout() - Method in interface com.github.steveice10.packetlib.Session
Gets the connect timeout for this session in seconds.
getConnectTimeout() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
getDecryptOutputSize(int) - Method in class com.github.steveice10.packetlib.crypt.AESEncryption
 
getDecryptOutputSize(int) - Method in interface com.github.steveice10.packetlib.crypt.PacketEncryption
Gets the output size from decrypting.
getEncryptOutputSize(int) - Method in class com.github.steveice10.packetlib.crypt.AESEncryption
 
getEncryptOutputSize(int) - Method in interface com.github.steveice10.packetlib.crypt.PacketEncryption
Gets the output size from encrypting.
getFactory() - Method in class com.github.steveice10.packetlib.packet.PacketDefinition
Returns the PacketFactory of the packet.
getFlag(String) - Method in interface com.github.steveice10.packetlib.Session
Gets the value of the given flag as an instance of the given type.
getFlag(String, T) - Method in interface com.github.steveice10.packetlib.Session
Gets the value of the given flag as an instance of the given type.
getFlag(String, T) - Method in class com.github.steveice10.packetlib.tcp.TcpServerSession
 
getFlag(String) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
getFlag(String, T) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
getFlags() - Method in interface com.github.steveice10.packetlib.Session
Gets this session's set flags.
getFlags() - Method in class com.github.steveice10.packetlib.tcp.TcpServerSession
 
getFlags() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
getGlobalFlag(String) - Method in class com.github.steveice10.packetlib.AbstractServer
 
getGlobalFlag(String, T) - Method in class com.github.steveice10.packetlib.AbstractServer
 
getGlobalFlag(String) - Method in interface com.github.steveice10.packetlib.Server
Gets the value of the given flag as an instance of the given type.
getGlobalFlag(String, T) - Method in interface com.github.steveice10.packetlib.Server
Gets the value of the given flag as an instance of the given type.
getGlobalFlags() - Method in class com.github.steveice10.packetlib.AbstractServer
 
getGlobalFlags() - Method in interface com.github.steveice10.packetlib.Server
Gets this server's set flags.
getHost() - Method in class com.github.steveice10.packetlib.AbstractServer
 
getHost() - Method in interface com.github.steveice10.packetlib.Server
Gets the host the session is listening on.
getHost() - Method in interface com.github.steveice10.packetlib.Session
Gets the host the session is connected to.
getHost() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
getId() - Method in class com.github.steveice10.packetlib.packet.PacketDefinition
Returns the id of the packet.
getLengthSize() - Method in class com.github.steveice10.packetlib.packet.DefaultPacketHeader
 
getLengthSize(int) - Method in class com.github.steveice10.packetlib.packet.DefaultPacketHeader
 
getLengthSize() - Method in interface com.github.steveice10.packetlib.packet.PacketHeader
Gets the size of the header's length value.
getLengthSize(int) - Method in interface com.github.steveice10.packetlib.packet.PacketHeader
Gets the size of the header's length value.
getListeners() - Method in class com.github.steveice10.packetlib.AbstractServer
 
getListeners() - Method in interface com.github.steveice10.packetlib.Server
Gets the listeners listening on this session.
getListeners() - Method in interface com.github.steveice10.packetlib.Session
Gets the listeners listening on this session.
getListeners() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
getLocalAddress() - Method in interface com.github.steveice10.packetlib.Session
Gets the local address of the session.
getLocalAddress() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
getPacket() - Method in class com.github.steveice10.packetlib.event.session.PacketSendingEvent
Gets the packet involved in this event as the required type.
getPacketClass() - Method in class com.github.steveice10.packetlib.packet.BufferedPacket
 
getPacketClass() - Method in class com.github.steveice10.packetlib.packet.PacketDefinition
Returns the class of the packet.
getPacketHeader() - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Gets the packet header of this protocol.
getPacketProtocol() - Method in class com.github.steveice10.packetlib.AbstractServer
 
getPacketProtocol() - Method in interface com.github.steveice10.packetlib.Server
Gets the packet protocol of the server.
getPacketProtocol() - Method in interface com.github.steveice10.packetlib.Session
Gets the packet protocol of the session.
getPacketProtocol() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
getPassword() - Method in class com.github.steveice10.packetlib.ProxyInfo
Gets the proxy's authentication password.
getPort() - Method in class com.github.steveice10.packetlib.AbstractServer
 
getPort() - Method in interface com.github.steveice10.packetlib.Server
Gets the port the session is listening on.
getPort() - Method in interface com.github.steveice10.packetlib.Session
Gets the port the session is connected to.
getPort() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
getReadTimeout() - Method in interface com.github.steveice10.packetlib.Session
Gets the read timeout for this session in seconds.
getReadTimeout() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
getReason() - Method in class com.github.steveice10.packetlib.event.session.DisconnectedEvent
Gets the reason given for the session disconnecting.
getReason() - Method in class com.github.steveice10.packetlib.event.session.DisconnectingEvent
Gets the reason given for the session disconnecting.
getRemoteAddress() - Method in interface com.github.steveice10.packetlib.Session
Gets the remote address of the session.
getRemoteAddress() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
getServer() - Method in class com.github.steveice10.packetlib.event.server.ServerBoundEvent
Gets the server involved in this event.
getServer() - Method in class com.github.steveice10.packetlib.event.server.ServerClosedEvent
Gets the server involved in this event.
getServer() - Method in class com.github.steveice10.packetlib.event.server.ServerClosingEvent
Gets the server involved in this event.
getServer() - Method in class com.github.steveice10.packetlib.event.server.SessionAddedEvent
Gets the server involved in this event.
getServer() - Method in class com.github.steveice10.packetlib.event.server.SessionRemovedEvent
Gets the server involved in this event.
getServerboundClass(int) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Gets the packet class for a packet id.
getServerboundId(Class<? extends Packet>) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Gets the registered id of a serverbound packet class.
getServerboundId(Packet) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Gets the registered id of a serverbound Packet instance.
getSession() - Method in class com.github.steveice10.packetlib.event.server.SessionAddedEvent
Gets the session involved in this event.
getSession() - Method in class com.github.steveice10.packetlib.event.server.SessionRemovedEvent
Gets the session involved in this event.
getSession() - Method in class com.github.steveice10.packetlib.event.session.ConnectedEvent
Gets the session involved in this event.
getSession() - Method in class com.github.steveice10.packetlib.event.session.DisconnectedEvent
Gets the session involved in this event.
getSession() - Method in class com.github.steveice10.packetlib.event.session.DisconnectingEvent
Gets the session involved in this event.
getSession() - Method in class com.github.steveice10.packetlib.event.session.PacketErrorEvent
Gets the session involved in this event.
getSession() - Method in class com.github.steveice10.packetlib.event.session.PacketSendingEvent
Gets the session involved in this event.
getSessions() - Method in class com.github.steveice10.packetlib.AbstractServer
 
getSessions() - Method in interface com.github.steveice10.packetlib.Server
Gets all sessions belonging to this server.
getSRVRecordPrefix() - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Gets the prefix used when locating SRV records for this protocol.
getType() - Method in class com.github.steveice10.packetlib.ProxyInfo
Gets the proxy's type.
getUsername() - Method in class com.github.steveice10.packetlib.ProxyInfo
Gets the proxy's authentication username.
getWriteTimeout() - Method in interface com.github.steveice10.packetlib.Session
Gets the write timeout for this session in seconds.
getWriteTimeout() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 

H

handlerRemoved(ChannelHandlerContext) - Method in class com.github.steveice10.packetlib.tcp.TcpPacketCompression
 
hasFlag(String) - Method in interface com.github.steveice10.packetlib.Session
Checks whether this session has a flag set.
hasFlag(String) - Method in class com.github.steveice10.packetlib.tcp.TcpServerSession
 
hasFlag(String) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
hasGlobalFlag(String) - Method in class com.github.steveice10.packetlib.AbstractServer
 
hasGlobalFlag(String) - Method in interface com.github.steveice10.packetlib.Server
Checks whether this server has a flag set.

I

isAuthenticated() - Method in class com.github.steveice10.packetlib.ProxyInfo
Gets whether the proxy is authenticated with.
isCancelled() - Method in class com.github.steveice10.packetlib.event.session.PacketSendingEvent
Gets whether the event has been cancelled.
isConnected() - Method in interface com.github.steveice10.packetlib.Session
Returns true if the session is connected.
isConnected() - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
isLengthVariable() - Method in class com.github.steveice10.packetlib.packet.DefaultPacketHeader
 
isLengthVariable() - Method in interface com.github.steveice10.packetlib.packet.PacketHeader
Gets whether the header's length value can vary in size.
isListening() - Method in interface com.github.steveice10.packetlib.Server
Returns true if the listener is listening.
isListening() - Method in class com.github.steveice10.packetlib.tcp.TcpServer
 
isPriority() - Method in class com.github.steveice10.packetlib.packet.BufferedPacket
 
isPriority() - Method in interface com.github.steveice10.packetlib.packet.Packet
Gets whether the packet has handling priority.

N

NetInput - Interface in com.github.steveice10.packetlib.io
An interface for reading network data.
NetOutput - Interface in com.github.steveice10.packetlib.io
An interface for writing network data.
newClientSession(Session) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Called when a client session is created with this protocol.
newServerSession(Server, Session) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Called when a server session is created with this protocol.

P

Packet - Interface in com.github.steveice10.packetlib.packet
A network packet.
PacketDefinition<T extends Packet> - Class in com.github.steveice10.packetlib.packet
Represents a definition of a packet with various information about it, such as it's id, class and factory for construction.
PacketDefinition(int, Class<T>, PacketFactory<T>) - Constructor for class com.github.steveice10.packetlib.packet.PacketDefinition
 
PacketEncryption - Interface in com.github.steveice10.packetlib.crypt
An interface for encrypting packets.
packetError(PacketErrorEvent) - Method in class com.github.steveice10.packetlib.event.session.SessionAdapter
 
packetError(PacketErrorEvent) - Method in interface com.github.steveice10.packetlib.event.session.SessionListener
Called when a session encounters an error while reading or writing packet data.
PacketErrorEvent - Class in com.github.steveice10.packetlib.event.session
Called when a session encounters an error while reading or writing packet data.
PacketErrorEvent(Session, Throwable) - Constructor for class com.github.steveice10.packetlib.event.session.PacketErrorEvent
Creates a new SessionErrorEvent instance.
PacketFactory<T extends Packet> - Interface in com.github.steveice10.packetlib.packet
Factory for constructing Packets.
PacketHeader - Interface in com.github.steveice10.packetlib.packet
The header of a protocol's packets.
PacketProtocol - Class in com.github.steveice10.packetlib.packet
A protocol for packet sending and receiving.
PacketProtocol() - Constructor for class com.github.steveice10.packetlib.packet.PacketProtocol
 
packetReceived(Session, Packet) - Method in class com.github.steveice10.packetlib.event.session.SessionAdapter
 
packetReceived(Session, Packet) - Method in interface com.github.steveice10.packetlib.event.session.SessionListener
Called when a session receives a packet.
packetSending(PacketSendingEvent) - Method in class com.github.steveice10.packetlib.event.session.SessionAdapter
 
packetSending(PacketSendingEvent) - Method in interface com.github.steveice10.packetlib.event.session.SessionListener
Called when a session is sending a packet.
PacketSendingEvent - Class in com.github.steveice10.packetlib.event.session
Called when the session is sending a packet.
PacketSendingEvent(Session, Packet) - Constructor for class com.github.steveice10.packetlib.event.session.PacketSendingEvent
Creates a new PacketSendingEvent instance.
packetSent(Session, Packet) - Method in class com.github.steveice10.packetlib.event.session.SessionAdapter
 
packetSent(Session, Packet) - Method in interface com.github.steveice10.packetlib.event.session.SessionListener
Called when a session sends a packet.
PRINT_DEBUG - Static variable in class com.github.steveice10.packetlib.BuiltinFlags
When set to true, enables printing internal debug messages.
ProxyInfo - Class in com.github.steveice10.packetlib
Information describing a network proxy.
ProxyInfo(ProxyInfo.Type, SocketAddress) - Constructor for class com.github.steveice10.packetlib.ProxyInfo
Creates a new unauthenticated ProxyInfo instance.
ProxyInfo(ProxyInfo.Type, SocketAddress, String, String) - Constructor for class com.github.steveice10.packetlib.ProxyInfo
Creates a new authenticated ProxyInfo instance.
ProxyInfo.Type - Enum in com.github.steveice10.packetlib
Supported proxy types.

R

readBoolean() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readBoolean() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next boolean.
readBoolean() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readBoolean() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readByte() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readByte() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next byte.
readByte() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readByte() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readBytes(int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readBytes(byte[]) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readBytes(byte[], int, int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readBytes(int) - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next byte array.
readBytes(byte[]) - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads as much data as possible into the given byte array.
readBytes(byte[], int, int) - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the given amount of bytes into the given array at the given offset.
readBytes(int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readBytes(byte[]) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readBytes(byte[], int, int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readBytes(int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readBytes(byte[]) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readBytes(byte[], int, int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readChar() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readChar() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next char.
readChar() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readChar() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readDouble() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readDouble() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next double.
readDouble() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readDouble() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readEnum(T[]) - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next enum.
readFloat() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readFloat() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next float.
readFloat() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readFloat() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readInt() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readInt() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next integer.
readInt() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readInt() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readInts(int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readInts(int[]) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readInts(int[], int, int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readInts(int) - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next int array.
readInts(int[]) - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads as much data as possible into the given int array.
readInts(int[], int, int) - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the given amount of ints into the given array at the given offset.
readInts(int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readInts(int[]) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readInts(int[], int, int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readInts(int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readInts(int[]) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readInts(int[], int, int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readLength(NetInput, int) - Method in class com.github.steveice10.packetlib.packet.DefaultPacketHeader
 
readLength(NetInput, int) - Method in interface com.github.steveice10.packetlib.packet.PacketHeader
Reads the length of a packet from the given input.
readLong() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readLong() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next long.
readLong() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readLong() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readLongs(int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readLongs(long[]) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readLongs(long[], int, int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readLongs(int) - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next long array.
readLongs(long[]) - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads as much data as possible into the given long array.
readLongs(long[], int, int) - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the given amount of longs into the given array at the given offset.
readLongs(int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readLongs(long[]) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readLongs(long[], int, int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readLongs(int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readLongs(long[]) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readLongs(long[], int, int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readPacketId(NetInput) - Method in class com.github.steveice10.packetlib.packet.DefaultPacketHeader
 
readPacketId(NetInput) - Method in interface com.github.steveice10.packetlib.packet.PacketHeader
Reads the ID of a packet from the given input.
readShort() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readShort() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next short.
readShort() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readShort() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readShorts(int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readShorts(short[]) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readShorts(short[], int, int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readShorts(int) - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next short array.
readShorts(short[]) - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads as much data as possible into the given short array.
readShorts(short[], int, int) - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the given amount of shorts into the given array at the given offset.
readShorts(int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readShorts(short[]) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readShorts(short[], int, int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readShorts(int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readShorts(short[]) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readShorts(short[], int, int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readString() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readString() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next string.
readString() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readString() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readUnsignedByte() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readUnsignedByte() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next unsigned byte.
readUnsignedByte() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readUnsignedByte() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readUnsignedShort() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readUnsignedShort() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next unsigned short.
readUnsignedShort() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readUnsignedShort() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readUUID() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readUUID() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next UUID.
readUUID() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readUUID() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readVarInt() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readVarInt() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next varint.
readVarInt() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readVarInt() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
readVarLong() - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetInput
 
readVarLong() - Method in interface com.github.steveice10.packetlib.io.NetInput
Reads the next varlong.
readVarLong() - Method in class com.github.steveice10.packetlib.io.stream.StreamNetInput
 
readVarLong() - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetInput
 
register(int, Class<T>, PacketFactory<T>) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Registers a packet to this protocol as both serverbound and clientbound.
register(PacketDefinition<? extends Packet>) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Registers a packet to this protocol as both serverbound and clientbound.
registerClientbound(int, Class<T>, PacketFactory<T>) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Registers a clientbound packet to this protocol.
registerClientbound(PacketDefinition<? extends Packet>) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Registers a clientbound packet to this protocol.
registerServerbound(int, Class<T>, PacketFactory<T>) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Registers a serverbound packet to this protocol.
registerServerbound(PacketDefinition<? extends Packet>) - Method in class com.github.steveice10.packetlib.packet.PacketProtocol
Registers a serverbound packet to this protocol.
removeListener(ServerListener) - Method in class com.github.steveice10.packetlib.AbstractServer
 
removeListener(ServerListener) - Method in interface com.github.steveice10.packetlib.Server
Removes a listener from this server.
removeListener(SessionListener) - Method in interface com.github.steveice10.packetlib.Session
Removes a listener from this session.
removeListener(SessionListener) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
removeSession(Session) - Method in class com.github.steveice10.packetlib.AbstractServer
 

S

send(Packet) - Method in interface com.github.steveice10.packetlib.Session
Sends a packet.
send(Packet) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
Server - Interface in com.github.steveice10.packetlib
Listens for new sessions to connect.
ServerAdapter - Class in com.github.steveice10.packetlib.event.server
An adapter for picking server events to listen for.
ServerAdapter() - Constructor for class com.github.steveice10.packetlib.event.server.ServerAdapter
 
serverBound(ServerBoundEvent) - Method in class com.github.steveice10.packetlib.event.server.ServerAdapter
 
serverBound(ServerBoundEvent) - Method in interface com.github.steveice10.packetlib.event.server.ServerListener
Called when a server is bound to its host and port.
ServerBoundEvent - Class in com.github.steveice10.packetlib.event.server
Called when the server is bound to its host and port.
ServerBoundEvent(Server) - Constructor for class com.github.steveice10.packetlib.event.server.ServerBoundEvent
Creates a new ServerBoundEvent instance.
serverClosed(ServerClosedEvent) - Method in class com.github.steveice10.packetlib.event.server.ServerAdapter
 
serverClosed(ServerClosedEvent) - Method in interface com.github.steveice10.packetlib.event.server.ServerListener
Called when a server is closed.
ServerClosedEvent - Class in com.github.steveice10.packetlib.event.server
Called when the server is closed.
ServerClosedEvent(Server) - Constructor for class com.github.steveice10.packetlib.event.server.ServerClosedEvent
Creates a new ServerClosedEvent instance.
serverClosing(ServerClosingEvent) - Method in class com.github.steveice10.packetlib.event.server.ServerAdapter
 
serverClosing(ServerClosingEvent) - Method in interface com.github.steveice10.packetlib.event.server.ServerListener
Called when a server is about to close.
ServerClosingEvent - Class in com.github.steveice10.packetlib.event.server
Called when the server is about to close.
ServerClosingEvent(Server) - Constructor for class com.github.steveice10.packetlib.event.server.ServerClosingEvent
Creates a new ServerClosingEvent instance.
ServerEvent - Interface in com.github.steveice10.packetlib.event.server
An event relating to servers.
ServerListener - Interface in com.github.steveice10.packetlib.event.server
A listener for listening to server events.
Session - Interface in com.github.steveice10.packetlib
A network session.
SessionAdapter - Class in com.github.steveice10.packetlib.event.session
An adapter for picking session events to listen for.
SessionAdapter() - Constructor for class com.github.steveice10.packetlib.event.session.SessionAdapter
 
sessionAdded(SessionAddedEvent) - Method in class com.github.steveice10.packetlib.event.server.ServerAdapter
 
sessionAdded(SessionAddedEvent) - Method in interface com.github.steveice10.packetlib.event.server.ServerListener
Called when a session is added to the server.
SessionAddedEvent - Class in com.github.steveice10.packetlib.event.server
Called when a session is added to the server.
SessionAddedEvent(Server, Session) - Constructor for class com.github.steveice10.packetlib.event.server.SessionAddedEvent
Creates a new SessionAddedEvent instance.
SessionEvent - Interface in com.github.steveice10.packetlib.event.session
An event relating to sessions.
SessionListener - Interface in com.github.steveice10.packetlib.event.session
A listener for listening to session events.
sessionRemoved(SessionRemovedEvent) - Method in class com.github.steveice10.packetlib.event.server.ServerAdapter
 
sessionRemoved(SessionRemovedEvent) - Method in interface com.github.steveice10.packetlib.event.server.ServerListener
Called when a session is removed and disconnected from the server.
SessionRemovedEvent - Class in com.github.steveice10.packetlib.event.server
Called when a session is removed and disconnected from the server.
SessionRemovedEvent(Server, Session) - Constructor for class com.github.steveice10.packetlib.event.server.SessionRemovedEvent
Creates a new SessionRemovedEvent instance.
setCancelled(boolean) - Method in class com.github.steveice10.packetlib.event.session.PacketSendingEvent
Sets whether the event should be cancelled.
setCompressionThreshold(int, boolean) - Method in interface com.github.steveice10.packetlib.Session
Sets the compression packet length threshold for this session (-1 = disabled).
setCompressionThreshold(int, boolean) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
setConnectTimeout(int) - Method in interface com.github.steveice10.packetlib.Session
Sets the connect timeout for this session in seconds.
setConnectTimeout(int) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
setFlag(String, Object) - Method in interface com.github.steveice10.packetlib.Session
Sets the value of a flag.
setFlag(String, Object) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
setGlobalFlag(String, Object) - Method in class com.github.steveice10.packetlib.AbstractServer
 
setGlobalFlag(String, Object) - Method in interface com.github.steveice10.packetlib.Server
Sets the value of a flag.
setPacket(Packet) - Method in class com.github.steveice10.packetlib.event.session.PacketSendingEvent
Sets the packet that should be sent as a result of this event.
setReadTimeout(int) - Method in interface com.github.steveice10.packetlib.Session
Sets the read timeout for this session in seconds.
setReadTimeout(int) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
setSuppress(boolean) - Method in class com.github.steveice10.packetlib.event.session.PacketErrorEvent
Sets whether the error should be suppressed.
setWriteTimeout(int) - Method in interface com.github.steveice10.packetlib.Session
Sets the write timeout for this session in seconds.
setWriteTimeout(int) - Method in class com.github.steveice10.packetlib.tcp.TcpSession
 
shouldSuppress() - Method in class com.github.steveice10.packetlib.event.session.PacketErrorEvent
Gets whether the error should be suppressed.
StreamNetInput - Class in com.github.steveice10.packetlib.io.stream
A NetInput implementation using an InputStream as a backend.
StreamNetInput(InputStream) - Constructor for class com.github.steveice10.packetlib.io.stream.StreamNetInput
Creates a new StreamNetInput instance.
StreamNetOutput - Class in com.github.steveice10.packetlib.io.stream
A NetOutput implementation using an OutputStream as a backend.
StreamNetOutput(OutputStream) - Constructor for class com.github.steveice10.packetlib.io.stream.StreamNetOutput
Creates a new StreamNetOutput instance.

T

TcpClientSession - Class in com.github.steveice10.packetlib.tcp
 
TcpClientSession(String, int, PacketProtocol) - Constructor for class com.github.steveice10.packetlib.tcp.TcpClientSession
 
TcpClientSession(String, int, PacketProtocol, ProxyInfo) - Constructor for class com.github.steveice10.packetlib.tcp.TcpClientSession
 
TcpClientSession(String, int, String, int, PacketProtocol) - Constructor for class com.github.steveice10.packetlib.tcp.TcpClientSession
 
TcpClientSession(String, int, String, int, PacketProtocol, ProxyInfo) - Constructor for class com.github.steveice10.packetlib.tcp.TcpClientSession
 
TcpPacketCodec - Class in com.github.steveice10.packetlib.tcp
 
TcpPacketCodec(Session, boolean) - Constructor for class com.github.steveice10.packetlib.tcp.TcpPacketCodec
 
TcpPacketCompression - Class in com.github.steveice10.packetlib.tcp
 
TcpPacketCompression(Session, boolean) - Constructor for class com.github.steveice10.packetlib.tcp.TcpPacketCompression
 
TcpPacketEncryptor - Class in com.github.steveice10.packetlib.tcp
 
TcpPacketEncryptor(PacketEncryption) - Constructor for class com.github.steveice10.packetlib.tcp.TcpPacketEncryptor
 
TcpPacketSizer - Class in com.github.steveice10.packetlib.tcp
 
TcpPacketSizer(Session, int) - Constructor for class com.github.steveice10.packetlib.tcp.TcpPacketSizer
 
TcpServer - Class in com.github.steveice10.packetlib.tcp
 
TcpServer(String, int, Supplier<? extends PacketProtocol>) - Constructor for class com.github.steveice10.packetlib.tcp.TcpServer
 
TcpServerSession - Class in com.github.steveice10.packetlib.tcp
 
TcpServerSession(String, int, PacketProtocol, TcpServer) - Constructor for class com.github.steveice10.packetlib.tcp.TcpServerSession
 
TcpSession - Class in com.github.steveice10.packetlib.tcp
 
TcpSession(String, int, PacketProtocol) - Constructor for class com.github.steveice10.packetlib.tcp.TcpSession
 
TransportHelper - Class in com.github.steveice10.packetlib.helper
 
TransportHelper() - Constructor for class com.github.steveice10.packetlib.helper.TransportHelper
 
TransportHelper.TransportMethod - Enum in com.github.steveice10.packetlib.helper
 

U

USE_EVENT_LOOP_FOR_PACKETS - Static variable in class com.github.steveice10.packetlib.tcp.TcpSession
Controls whether non-priority packets are handled in a separate event loop

V

valueOf(String) - Static method in enum com.github.steveice10.packetlib.helper.TransportHelper.TransportMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.steveice10.packetlib.ProxyInfo.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.steveice10.packetlib.helper.TransportHelper.TransportMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.steveice10.packetlib.ProxyInfo.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(NetOutput) - Method in class com.github.steveice10.packetlib.packet.BufferedPacket
 
write(NetOutput) - Method in interface com.github.steveice10.packetlib.packet.Packet
Writes the packet to the given output buffer.
writeBoolean(boolean) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeBoolean(boolean) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a boolean.
writeBoolean(boolean) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeBoolean(boolean) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeByte(int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeByte(int) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a byte.
writeByte(int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeByte(int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeBytes(byte[]) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeBytes(byte[], int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeBytes(byte[]) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a byte array.
writeBytes(byte[], int) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a byte array, using the given amount of bytes.
writeBytes(byte[]) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeBytes(byte[], int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeBytes(byte[]) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeBytes(byte[], int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeChar(int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeChar(int) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a char.
writeChar(int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeChar(int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeDouble(double) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeDouble(double) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a double.
writeDouble(double) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeDouble(double) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeEnum(Enum<?>) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes an enum.
writeFloat(float) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeFloat(float) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a float.
writeFloat(float) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeFloat(float) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeInt(int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeInt(int) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a integer.
writeInt(int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeInt(int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeInts(int[]) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeInts(int[], int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeInts(int[]) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes an int array.
writeInts(int[], int) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes an int array, using the given amount of bytes.
writeInts(int[]) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeInts(int[], int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeInts(int[]) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeInts(int[], int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeLength(NetOutput, int) - Method in class com.github.steveice10.packetlib.packet.DefaultPacketHeader
 
writeLength(NetOutput, int) - Method in interface com.github.steveice10.packetlib.packet.PacketHeader
Writes the length of a packet to the given output.
writeLong(long) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeLong(long) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a long.
writeLong(long) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeLong(long) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeLongs(long[]) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeLongs(long[], int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeLongs(long[]) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a long array.
writeLongs(long[], int) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a long array, using the given amount of bytes.
writeLongs(long[]) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeLongs(long[], int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeLongs(long[]) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeLongs(long[], int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writePacketId(NetOutput, int) - Method in class com.github.steveice10.packetlib.packet.DefaultPacketHeader
 
writePacketId(NetOutput, int) - Method in interface com.github.steveice10.packetlib.packet.PacketHeader
Writes the ID of a packet to the given output.
writeShort(int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeShort(int) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a short.
writeShort(int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeShort(int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeShorts(short[]) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeShorts(short[], int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeShorts(short[]) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a short array.
writeShorts(short[], int) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a short array, using the given amount of bytes.
writeShorts(short[]) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeShorts(short[], int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeShorts(short[]) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeShorts(short[], int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeString(String) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeString(String) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a string.
writeString(String) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeString(String) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeUUID(UUID) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeUUID(UUID) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a UUID.
writeUUID(UUID) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeUUID(UUID) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeVarInt(int) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeVarInt(int) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a varint.
writeVarInt(int) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeVarInt(int) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
writeVarLong(long) - Method in class com.github.steveice10.packetlib.io.buffer.ByteBufferNetOutput
 
writeVarLong(long) - Method in interface com.github.steveice10.packetlib.io.NetOutput
Writes a varlong.
writeVarLong(long) - Method in class com.github.steveice10.packetlib.io.stream.StreamNetOutput
 
writeVarLong(long) - Method in class com.github.steveice10.packetlib.tcp.io.ByteBufNetOutput
 
A B C D E F G H I N P R S T U V W 
Skip navigation links

Copyright © 2021. All rights reserved.