Package alexiil.mc.lib.net
Class NetIdTyped<T>
java.lang.Object
alexiil.mc.lib.net.TreeNetIdBase
alexiil.mc.lib.net.NetIdBase
alexiil.mc.lib.net.NetIdTyped<T>
- Direct Known Subclasses:
NetIdDataK
,NetIdSignalK
-
Field Summary
FieldsFields inherited from class alexiil.mc.lib.net.NetIdBase
DEFAULT_FLAGS, MAXIMUM_PRIORITY
Fields inherited from class alexiil.mc.lib.net.TreeNetIdBase
DYNAMIC_LENGTH, fullName, length, name, totalLength
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected abstract void
receive(NetByteBuf buffer, IMsgReadCtx ctx, T obj)
abstract void
send(ActiveConnection connection, T obj)
Sends this net id over the specified connectionMethods inherited from class alexiil.mc.lib.net.NetIdBase
_toClientOnly, _toEitherSide, _toServerOnly, buffered, changeFlag, notBuffered, setBuffered, setLargeSize, setMaximumDropDelay, setNormalSize, setTinySize, toClientOnly, toEitherSide, toServerOnly, withLargeSize, withNormalSize, withoutBuffering, withTinySize
Methods inherited from class alexiil.mc.lib.net.TreeNetIdBase
equals, getRealClassName, hasFixedLength, hashCode, toString
-
Field Details
-
parent
-
-
Method Details
-
getPrintableName
- Overrides:
getPrintableName
in classTreeNetIdBase
-
receive
protected abstract void receive(NetByteBuf buffer, IMsgReadCtx ctx, T obj) throws InvalidInputDataException- Throws:
InvalidInputDataException
-
send
Sends this net id over the specified connection
-