public interface ReadableMessage extends Message
ReadableMessage
represents a message that can be read by
Session
.Modifier and Type | Method and Description |
---|---|
void |
read(InputStream inputStream)
Read message from a input stream.
|
void read(InputStream inputStream) throws SocksException, IOException
inputStream
- Input stream.SocksException
- If a SOCKS protocol error occurred.IOException
- If an I/O error occurred.Copyright © 2015. All rights reserved.