Class ConnectionParams
- java.lang.Object
-
- com.sportradar.livedata.sdk.feed.common.entities.ConnectionParams
-
- All Implemented Interfaces:
Serializable
public class ConnectionParams extends Object implements Serializable
Holds data about underlying connection parameters- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionParams(String hostName, Integer port, String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHostName()
Hostname we are connecting toInteger
getPort()
Port we are connecting toString
getUrl()
Url we are fetchingString
toString()
-
-
-
Method Detail
-
getHostName
public String getHostName()
Hostname we are connecting to- Returns:
- hostname or null if using HTTP based feed
-
getPort
public Integer getPort()
Port we are connecting to- Returns:
- port or null if using HTTP based feed
-
getUrl
public String getUrl()
Url we are fetching- Returns:
- url or null if using Socket based feed
-
-