public class HandshakeState extends Object
Constructor and Description |
---|
HandshakeState()
Keeps state of the handshake, initiated between client and server.
|
Modifier and Type | Method and Description |
---|---|
boolean |
completed()
Get Handshake Completeness State
|
boolean |
failed()
Get Handshake Failure State
|
void |
set(boolean failed,
boolean complete)
Set Handshake State
|
public HandshakeState()
public void set(boolean failed, boolean complete)
failed
- indicates if handshake failedcomplete
- indicates if handshake completed between client/server, i.e., did not timeout.public boolean failed()
public boolean completed()
Copyright © 2019 CorfuDB. All rights reserved.