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

Class WebSocketServerConfig

Hierarchy

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

Package
com.smartdevicelink.transport

Fields

Inherited Fields

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

Constructors

WebSocketServerConfig( int port, int connectionLostTimeout )

Default constructor for WebsocketConfig

public WebSocketServerConfig(int port,int connectionLostTimeout)

Parameters

port
the port this web socket should listen on
connectionLostTimeout
the timeout for a connection lost, default would be 60 seconds. If a value less than 0 is used, then the websocket will wait indefinitely.

Methods

getSslConfig()

public com.smartdevicelink.transport.utl.SSLConfig getSslConfig()

setSslConfig( SSLConfig sslConfig )

public void setSslConfig(SSLConfig sslConfig)

Parameters

sslConfig

getTransportType()

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

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