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