Uses of Class
de.freaklamarsch.systarest.STouchProtocol.STouchCommand
Package | Description |
---|---|
de.freaklamarsch.systarest |
-
Uses of STouchProtocol.STouchCommand in de.freaklamarsch.systarest
Fields in de.freaklamarsch.systarest with type parameters of type STouchProtocol.STouchCommand Modifier and Type Field Description private java.util.Map<STouchProtocol.STouchCommand,java.util.function.Function<java.lang.Object,java.lang.Boolean>>
FakeSTouch. displayMethods
private static java.util.Map<STouchProtocol.STouchCommand,STouchProtocol.ObjectReaderWriter<?>>
STouchProtocol. readerWriters
A map of command parsers, where the key is the command code and the value is the corresponding parser.Methods in de.freaklamarsch.systarest that return STouchProtocol.STouchCommand Modifier and Type Method Description static STouchProtocol.STouchCommand
STouchProtocol.STouchCommand. getCmd(int id)
STouchProtocol.STouchCommand
STouchProtocol.CommandReaderWriter. readFromBuffer(java.nio.ByteBuffer buffer)
static STouchProtocol.STouchCommand
STouchProtocol.STouchCommand. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static STouchProtocol.STouchCommand[]
STouchProtocol.STouchCommand. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in de.freaklamarsch.systarest with parameters of type STouchProtocol.STouchCommand Modifier and Type Method Description static STouchProtocol.ObjectReaderWriter<?>
STouchProtocol. getParser(STouchProtocol.STouchCommand cmd)
Retrieves the parser for the given command code.private boolean
FakeSTouch. isCommandEnabled(STouchProtocol.STouchCommand cmd)
static java.lang.Object
STouchProtocol. read(STouchProtocol.STouchCommand cmd, java.nio.ByteBuffer buffer)
static <T> int
STouchProtocol. write(STouchProtocol.STouchCommand cmd, java.nio.ByteBuffer buffer, T object)
int
STouchProtocol.CommandReaderWriter. writeToBuffer(java.nio.ByteBuffer buffer, STouchProtocol.STouchCommand command)