Package org.bouncycastle.tls
Class DefaultTlsHeartbeat
java.lang.Object
org.bouncycastle.tls.DefaultTlsHeartbeat
- All Implemented Interfaces:
TlsHeartbeat
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
int
int
-
Constructor Details
-
DefaultTlsHeartbeat
public DefaultTlsHeartbeat(int idleMillis, int timeoutMillis)
-
-
Method Details
-
generatePayload
public byte[] generatePayload()- Specified by:
generatePayload
in interfaceTlsHeartbeat
-
getIdleMillis
public int getIdleMillis()- Specified by:
getIdleMillis
in interfaceTlsHeartbeat
-
getTimeoutMillis
public int getTimeoutMillis()- Specified by:
getTimeoutMillis
in interfaceTlsHeartbeat
-