Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
RouterServiceMessageEmitter

Class RouterServiceMessageEmitter

Hierarchy

java.lang.Object
     java.lang.Thread

Package
com.smartdevicelink.transport

Fields

QUEUE_LOCK

protected final java.lang.Object QUEUE_LOCK

Inherited Fields

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

Constructors

RouterServiceMessageEmitter( RouterServiceMessageEmitter.Callback callback )

public RouterServiceMessageEmitter(RouterServiceMessageEmitter.Callback callback)

Constructor Parameters

callback

Methods

run()

public void run()

alert()

protected void alert()

close()

protected void close()

add( Message message )

Insert the task in the queue where it belongs

public void add(Message message)

Method Parameters

message
the new Message that needs to be added to the queue to be handled

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