public interface BIOCallback
Modifier and Type | Method and Description |
---|---|
String |
gets(int len)
Read string up to the len or CLRLF
|
int |
puts(String data)
Puts string
|
int |
read(byte[] buf)
Read data
|
int |
write(byte[] buf)
Write data
|
int write(byte[] buf)
buf
- containing the bytes to write.int read(byte[] buf)
buf
- buffer to store the read bytes.int puts(String data)
data
- String to writeString gets(int len)
len
- Maximum number of characters to readCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.