@Deprecated public interface EchoOutput
| Modifier and Type | Method and Description |
|---|---|
void |
onReceive(int input,
String string)
Deprecated.
A callback method called when the data is received from the given input.
|
void |
onSend(String string)
Deprecated.
A callback method called when the data has just been sent to the output.
|
void onReceive(int input,
String string)
throws IOException
input - the input number starting from 0string - the input data converted from bytes using the charset specified in the
ExpectBuilder.withCharset(java.nio.charset.Charset)
methodIOException - if an I/O error occursvoid onSend(String string) throws IOException
string - the received data converted from bytes using the charset specified in the
ExpectBuilder.withCharset(java.nio.charset.Charset)
methodIOException - if an I/O error occursCopyright © 2014–2018 Alexey Gavrilov and contributors. All rights reserved.