MCPcopy Create free account
hub / github.com/M66B/FairEmail / getChannel

Method getChannel

app/src/main/java/com/sun/mail/iap/Protocol.java:546–555  ·  view source on GitHub ↗

Return the SocketChannel associated with this connection, if any. @return the SocketChannel @since JavaMail 1.5.2

()

Source from the content-addressed store, hash-verified

544 * @since JavaMail 1.5.2
545 */
546 public SocketChannel getChannel() {
547 SocketChannel ret = socket.getChannel();
548 if (ret != null)
549 return ret;
550
551 if (socket instanceof SSLSocket) {
552 ret = Protocol.findSocketChannel(socket);
553 }
554 return ret;
555 }
556
557 /**
558 * Android is broken and SSL wrapped sockets don't delegate

Callers 6

decodeCompressedMethod · 0.45
runMethod · 0.45
findSocketChannelMethod · 0.45
lockMethod · 0.45
copyDatabaseFileMethod · 0.45
readVersionMethod · 0.45

Calls 1

findSocketChannelMethod · 0.95

Tested by

no test coverage detected