Game Message Decoder
class GameMessageDecoder<R>(val networkService: NetworkService<R>, session: Session<R>, streamCipher: StreamCipher, oldSchoolClientType: OldSchoolClientType) : ByteToMessageDecoder
A decoder for game messages, one that respects the limitations set in place for incoming game messages to stop decoding after a specific threshold. Furthermore, this will discard any payload of a packet if no consumer has been registered, avoiding the creation of further garbage in the form of decoded messages or buffer slices.
Constructors
Link copied to clipboard
constructor(networkService: NetworkService<R>, session: Session<R>, streamCipher: StreamCipher, oldSchoolClientType: OldSchoolClientType)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard