public class ConnectionConfig extends Object
Connection configurations. Most of
the properties here are TCPConnection; however these configuration
may represent any kind of connection supported in sdk i.e. tcp connection,
xmpp connection, mime connection etc. All the properties are not mandatory;
certain properties may be applicable for certain type of connection only.| Modifier and Type | Method and Description |
|---|---|
Duration |
getHeartBeatFrequency() |
Duration |
getReplyTimeOut() |
String |
getServerIP() |
int |
getServerPort() |
boolean |
isHeartBeatManaged() |
void |
setHeartBeatManaged(boolean heartBeatManaged) |
public String getServerIP()
public int getServerPort()
public Duration getReplyTimeOut()
public Duration getHeartBeatFrequency()
HeartBeatManger. It's not
mandatory to attach a HeartBeatManger to a connectionpublic boolean isHeartBeatManaged()
public void setHeartBeatManaged(boolean heartBeatManaged)
Copyright © 2019. All rights reserved.