Uses of Class
alexiil.mc.lib.net.ActiveConnection
Package
Description
LibNetworkStack's base library.
LibNetworkStack's minecraft-specific library.
-
Uses of ActiveConnection in alexiil.mc.lib.net
Modifier and TypeClassDescriptionclass
AnActiveConnection
which buffers packets until one of the following:BufferedConnection.flushQueue()
is calledBufferedConnection.maximumPacketSize()
is reached.Modifier and TypeMethodDescriptionint
NetObjectCache.getId
(ActiveConnection connection, T obj) NetObjectCache.getObj
(ActiveConnection connection, int id) static void
InternalMsgUtil.onReceive
(ActiveConnection connection, NetByteBuf buffer) NetObjectCache.IEntrySerialiser.read
(ActiveConnection connection, NetByteBuf buffer) static void
InternalMsgUtil.send
(ActiveConnection connection, NetIdBase netId, alexiil.mc.lib.net.NetIdPath path, NetByteBuf payload) Sends a packet with it's priority set to it's default priority.static void
InternalMsgUtil.send
(ActiveConnection connection, NetIdBase netId, alexiil.mc.lib.net.NetIdPath path, NetByteBuf payload, int priority) Sends a packet.void
NetIdData.send
(ActiveConnection connection) Sends this signal over the specified connectionvoid
NetIdData.send
(ActiveConnection connection, NetIdData.IMsgDataWriter writer) void
NetIdDataK.send
(ActiveConnection connection, T obj) Sends this signal over the specified connectionvoid
NetIdDataK.send
(ActiveConnection connection, T obj, NetIdDataK.IMsgDataWriterK<T> writer) void
NetIdSignal.send
(ActiveConnection connection) Sends this signal over the specified connectionvoid
NetIdSignalK.send
(ActiveConnection connection, T obj) Sends this signal over the specified connectionabstract void
NetIdTyped.send
(ActiveConnection connection, T obj) Sends this net id over the specified connectionvoid
NetObjectCache.IEntrySerialiser.write
(T obj, ActiveConnection connection, NetByteBuf buffer) ModifierConstructorDescriptionMessageContext
(ActiveConnection connection, NetIdBase id) Read
(ActiveConnection connection, NetIdBase id) Write
(ActiveConnection connection, NetIdBase id) -
Uses of ActiveConnection in alexiil.mc.lib.net.impl
Modifier and TypeClassDescriptionclass
class
A connection to the other side - this is either anActiveClientConnection
or anActiveServerConnection
.class
A connection on the server side to a specificServerPlayerEntity
.