public abstract class ConnectionHandshake extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ConnectionImpl |
connection |
protected List<Integer> |
remoteVersions |
protected SSLSocket |
socket |
| Modifier and Type | Method and Description |
|---|---|
protected Cell |
expectCell(Integer... expectedTypes) |
protected void |
processNetInfo(Cell netinfoCell) |
protected void |
receiveVersions() |
protected void |
recvNetinfo() |
protected void |
sendNetinfo() |
protected void |
sendVersions(int... versions) |
protected void |
verifyIdentityKey(PublicKey publicKey) |
protected final ConnectionImpl connection
protected final SSLSocket socket
protected Cell expectCell(Integer... expectedTypes) throws ConnectionHandshakeException
ConnectionHandshakeExceptionprotected void sendVersions(int... versions)
throws ConnectionIOException
ConnectionIOExceptionprotected void receiveVersions()
throws ConnectionHandshakeException
ConnectionHandshakeExceptionprotected void sendNetinfo()
throws ConnectionIOException
ConnectionIOExceptionprotected void recvNetinfo()
throws ConnectionHandshakeException
ConnectionHandshakeExceptionprotected void processNetInfo(Cell netinfoCell)
protected void verifyIdentityKey(PublicKey publicKey) throws ConnectionHandshakeException
ConnectionHandshakeExceptionCopyright © 2015. All rights reserved.