Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

Class TCPTransportConfig

Hierarchy

java.lang.Object
     com.smartdevicelink.transport.BaseTransportConfig

Package
com.smartdevicelink.transport

Overview

Container of TCP transport specific configuration.

Fields

Inherited Fields

From Class Fields
com.smartdevicelink.transport.BaseTransportConfig shareConnection, iHeartBeatTimeout

Constructors

TCPTransportConfig( int port, String ipAddress, boolean autoReconnect )

Constructor. Objects of this class must be created for known port and IP address value.

public TCPTransportConfig(int port,String ipAddress,boolean autoReconnect)

Parameters

port
Port for TCP connection.
ipAddress
IP address for TCP connection.
autoReconnect
Flag which must be set to true if tcp connection must be automatically reestablished in case of disconnection

Methods

getPort()

Gets value of Port.

public int getPort()

getIPAddress()

Gets value of IP address.

public java.lang.String getIPAddress()

getAutoReconnect()

Gets value of AutoReconnect

public boolean getAutoReconnect()

getTransportType()

Overridden abstract method which returns specific type of this transport configuration.

public com.smartdevicelink.transport.enums.TransportType getTransportType()

toString()

public java.lang.String toString()

Inherited Methods

From Class Methods
com.smartdevicelink.transport.BaseTransportConfig getTransportType, shareConnection, getHeartBeatTimeout, setHeartBeatTimeout
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section