T
- type of read requestrP
- type of the packet reader created by this factorypublic static interface AbstractReadHandler.PacketReader.Factory<T extends ReadRequest,P extends AbstractReadHandler.PacketReader<T>>
Modifier and Type | Method and Description |
---|---|
P |
create(T readRequest)
Creates a new packet reader.
|
P create(T readRequest) throws IOException
readRequest
- the read requestIOException
- if IOException occursCopyright © 2023. All Rights Reserved.