public interface MasterProcessChannelDecoder extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close() |
Command |
decode()
Reads the bytes from a channel, waiting until the command is read completely or
the channel throws
EOFException . |
@Nonnull Command decode() throws IOException
EOFException
.
IOException
- exception in channelvoid close() throws IOException
close
in interface AutoCloseable
IOException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.