| org.apache.tomcat.jni.BIOCallback
BIOCallback | public interface BIOCallback (Code) | | Open SSL BIO Callback Interface
author: Mladen Turk version: $Revision: 467222 $, $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $ |
Method Summary | |
public String | gets(int len) | public int | puts(String data) | public int | read(byte[] buf) Read data
Parameters: buf - buffer to store the read bytes. | public int | write(byte[] buf) Write data
Parameters: buf - containg the bytes to write. |
gets | public String gets(int len)(Code) | | Read string up to the len or CLRLF
Parameters: len - Maximum number of characters to read String with up to len bytes readed |
puts | public int puts(String data)(Code) | | Puts string
Parameters: data - String to write Number of characters written |
read | public int read(byte[] buf)(Code) | | Read data
Parameters: buf - buffer to store the read bytes. number of bytes read. |
write | public int write(byte[] buf)(Code) | | Write data
Parameters: buf - containg the bytes to write. Number of characters written. |
|
|