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

Class MultiplexTransport.TransportBrokerThread

Hierarchy

java.lang.Object
     java.lang.Thread

Package
com.smartdevicelink.transport

Overview

This thread will handle the broker transaction with the router service.

Fields

Inherited Fields

From Class Fields
java.lang.Thread MIN_PRIORITY, NORM_PRIORITY, MAX_PRIORITY

Constructors

TransportBrokerThread( Context context, String appId, ComponentName service )

Thread will automatically start to prepare its looper.

public TransportBrokerThread(Context context,String appId,ComponentName service)

Parameters

context
appId
service

Methods

startConnection()

public void startConnection()

cancel()

public synchronized void cancel()

onHardwareConnected( TransportType type )

public void onHardwareConnected(TransportType type)

Parameters

type

sendPacket( SdlPacket packet )

public void sendPacket(SdlPacket packet)

Parameters

packet

requestNewSession()

public void requestNewSession()

removeSession( long sessionId )

public void removeSession(long sessionId)

Parameters

sessionId

run()

public void run()

initTransportBroker()

public void initTransportBroker()

Inherited Methods

From Class Methods
java.lang.Thread currentThread, yield, sleep, sleep, clone, start, run, stop, stop, interrupt, interrupted, isInterrupted, destroy, isAlive, suspend, resume, setPriority, getPriority, setName, getName, getThreadGroup, activeCount, enumerate, countStackFrames, join, join, join, dumpStack, setDaemon, isDaemon, checkAccess, toString, getContextClassLoader, setContextClassLoader, holdsLock, getStackTrace, getAllStackTraces, getId, getState, setDefaultUncaughtExceptionHandler, getDefaultUncaughtExceptionHandler, getUncaughtExceptionHandler, setUncaughtExceptionHandler
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section