|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StartTLSSupport
Connections that support StartTLS (Genesys: auto-detect/upgrade) functionality should implement this interface.
Method Summary | |
---|---|
boolean |
resumeReading()
Resumes reading from channel. |
void |
startTLS()
Starts TLS on the connection that has been already opened. |
void |
startTLS(java.lang.Runnable notificationCllback)
Starts TLS on the connection that has been already opened. |
boolean |
stopReading()
Stops reading from channel. |
void |
stopTLS()
Stops TLS and returns to unencrypted state. |
Method Detail |
---|
void startTLS() throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
- if problems with TLS configuration occursvoid startTLS(java.lang.Runnable notificationCllback) throws java.security.GeneralSecurityException
notificationCllback
- task to be called when TLS handshake finished.
java.security.GeneralSecurityException
- if problems with TLS configuration occursvoid stopTLS()
boolean stopReading()
boolean resumeReading()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |