MCPcopy Create free account
hub / github.com/apache/cloudstack / doHandshake

Method doHandshake

utils/src/main/java/com/cloud/utils/nio/Link.java:595–597  ·  view source on GitHub ↗
(final SocketChannel socketChannel, final SSLEngine sslEngine)

Source from the content-addressed store, hash-verified

593 }
594
595 public static boolean doHandshake(final SocketChannel socketChannel, final SSLEngine sslEngine) throws IOException {
596 return doHandshake(socketChannel, sslEngine, null);
597 }
598
599 public static boolean doHandshake(final SocketChannel socketChannel, final SSLEngine sslEngine, Integer timeout) throws IOException {
600 if (socketChannel == null || sslEngine == null) {

Callers 3

acceptMethod · 0.95
initMethod · 0.95
connectToPeerMethod · 0.95

Calls 8

doHandshakeUnwrapMethod · 0.95
getAppDataBufferMethod · 0.95
getNetDataBufferMethod · 0.95
isSuccessMethod · 0.95
doHandshakeWrapMethod · 0.95
allocateMethod · 0.65
executeMethod · 0.65
getSessionMethod · 0.45

Tested by

no test coverage detected