FileDocCategorySizeDatePackage
BIOCallback.javaAPI DocApache Tomcat 6.0.141756Fri Jul 20 04:20:36 BST 2007org.apache.tomcat.jni

BIOCallback

public interface BIOCallback
Open SSL BIO Callback Interface
author
Mladen Turk
version
$Revision: 467222 $, $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $

Fields Summary
Constructors Summary
Methods Summary
public java.lang.Stringgets(int len)
Read string up to the len or CLRLF

param
len Maximum number of characters to read
return
String with up to len bytes readed

public intputs(java.lang.String data)
Puts string

param
data String to write
return
Number of characters written

public intread(byte[] buf)
Read data

param
buf buffer to store the read bytes.
return
number of bytes read.

public intwrite(byte[] buf)
Write data

param
buf containg the bytes to write.
return
Number of characters written.