|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WolfSSLIORecvCallback
wolfSSL I/O Receive Callback Interface. This interface specifies how applicaitons should implement the I/O receive callback class to be used by wolfSSL.
After implementing this interface, it should be passed as a parameter
to the WolfSSLContext.setIORecv()
method to be registered with the native wolfSSL
library.
Method Summary | |
---|---|
int |
receiveCallback(WolfSSLSession ssl,
byte[] buf,
int sz,
java.lang.Object ctx)
I/O receive callback method. |
Method Detail |
---|
int receiveCallback(WolfSSLSession ssl, byte[] buf, int sz, java.lang.Object ctx)
ssl
- the current SSL session object from which the callback was
initiated.buf
- buffer in which the application should place data which
has been received from the peer.sz
- size of buffer, bufctx
- I/O context to be used.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |