|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HeartBeat
A continuous pulse from client to server that gives the information that the connection is alive and the server is up.
| Method Summary | |
|---|---|
int |
getMaxRetries()
Returns the maximum number of retries this heart beat attempts after a first connection failure before declaring the connection or the server as dead. |
long |
getPulsePeriod()
Returns the period of time in milliseconds between two heart beats |
void |
start()
Starts the heart beat |
void |
stop()
Stops the heart beat |
| Method Detail |
|---|
void start()
throws java.io.IOException
java.io.IOException - If there are problems contacting the serverstop()
void stop()
throws java.io.IOException
java.io.IOException - If there are problems contacting the serverstart()long getPulsePeriod()
MX4JRemoteConstants.CONNECTION_HEARTBEAT_PERIOD,
getMaxRetries()int getMaxRetries()
MX4JRemoteConstants.CONNECTION_HEARTBEAT_RETRIES,
getPulsePeriod()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||