Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- save(Element, File) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Outputs XML to the specified file.
- save(Element, OutputStream) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Wrapper for write().
- scheduleCallback(Runnable, long) - Method in interface com.tccc.kos.commons.util.concurrent.Scheduler
-
Schedules a
Runnable
that is executeddelay
number of milliseconds in the future. - scheduleCallback(Runnable, long) - Static method in class com.tccc.kos.commons.util.KosUtil
-
Shorthand access to
scheduler.scheduleCallback()
, which schedules aRunnable
that is executeddelay
number of milliseconds in the future. - scheduleCallback(Runnable, long, double, double) - Method in interface com.tccc.kos.commons.util.concurrent.Scheduler
-
Schedules a
Runnable
to be executed in the future. - scheduleCallback(Runnable, Date) - Method in interface com.tccc.kos.commons.util.concurrent.Scheduler
-
Schedules a
Runnable
that is executed at the specifiedDate
. - scheduleCallbackAtFixedRate(Runnable, long, long) - Method in interface com.tccc.kos.commons.util.concurrent.Scheduler
-
Schedules a
Runnable
that is executed on a recurring basis; first after the specified initial delay, and then at the given fixed period. - scheduleCallbackAtFixedRate(Runnable, Date, long) - Method in interface com.tccc.kos.commons.util.concurrent.Scheduler
-
Schedules a
Runnable
that is executed on a recurring basis; first after the specified date, and then at the fixed period. - scheduleCallbackWithFixedDelay(Runnable, long, long) - Method in interface com.tccc.kos.commons.util.concurrent.Scheduler
-
Schedules a
Runnable
that is executed on a recurring basis; first after theinitialDelay
, and then with a fixeddelay
between the end of the previous callback and the start of the next. - Scheduler - Interface in com.tccc.kos.commons.util.concurrent
-
System component that provides access to standard thread pools used throughout the kOS system.
- SEC - Static variable in class com.tccc.kos.commons.core.service.config.annotations.ConfigFormat
- SECTION_PREFIX_APP - Static variable in class com.tccc.kos.core.service.app.AppService
- SECTION_PREFIX_AUTOSTART - Static variable in class com.tccc.kos.core.service.app.AppService
- send(BinaryMsg) - Method in class com.tccc.kos.commons.core.client.binarymsg.BinaryMsgClient
-
Send a message to the remote side of the connection.
- send(BinaryMsg) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIface
-
Send a message to the attached client without waiting for a response.
- send(BinaryMsg) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgSession
-
Send the specified message without expecting any response.
- send(Object, String, Object, Class<?>) - Method in interface com.tccc.kos.commons.core.broker.MessageBroker
-
Sends a broker message from the specified session.
- send(Object, String, Object, Class<?>) - Method in class com.tccc.kos.core.service.app.AppMessageBroker
- send(String) - Method in interface com.tccc.kos.commons.core.broker.MessageBroker
-
Sends a broker message to the given topic.
- send(String) - Method in class com.tccc.kos.core.service.app.AppMessageBroker
- send(String, Object) - Method in interface com.tccc.kos.commons.core.broker.MessageBroker
-
Sends a broker message to the given topic with the given data.
- send(String, Object) - Method in class com.tccc.kos.core.service.app.AppMessageBroker
- send(String, Object, Class<?>) - Method in interface com.tccc.kos.commons.core.broker.MessageBroker
-
Sends a broker message to the given topic with the given data.
- send(String, Object, Class<?>) - Method in class com.tccc.kos.core.service.app.AppMessageBroker
- send(Request, Class<T>, boolean) - Method in class com.tccc.kos.commons.core.httpclient.JsonTemplate
-
Sends the given request and then parses the response into an instance of the specified class.
- send(HttpMethod, String, Object, Class<T>, boolean) - Method in class com.tccc.kos.commons.core.httpclient.JsonTemplate
-
Sends the given request and then parses the response into an instance of the specified class.
- sendAndRecv(BinaryMsg) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIface
-
Send a message to the attached client and wait for a response using the default timeout.
- sendAndRecv(BinaryMsg, int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIface
-
Send a message to the attached client and wait for a response using the specified timeout.
- sendAndRecv(BinaryMsg, int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgSession
-
Send the specified message and wait for a response.
- sendAndRecv(BinaryMsg, int, BinaryMsgListener) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIface
-
Send a message to the attached client and send the response to the specified listener using the specified timeout.
- sendAndRecv(BinaryMsg, int, BinaryMsgListener) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgSession
-
Send the specified message and send the response to the listener.
- sendAndRecv(BinaryMsg, BinaryMsgListener) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIface
-
Send a message to the attached client and send the response to the specified listener with the default timeout.
- sendAndRecvErr(BinaryMsg) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIface
-
Send a message to the attached client and wait for a response using the default timeout.
- sendAndRecvErr(BinaryMsg, int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIface
-
Send a message to the attached client and wait for a response using the specified timeout.
- sendAndRecvInt(BinaryMsg) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIface
-
Send a message to the attached client and wait for a response using the default timeout.
- sendAndRecvInt(BinaryMsg, int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIface
-
Send a message to the attached client and wait for a response using the specified timeout.
- sendError(int) - Method in interface com.tccc.kos.commons.core.dispatcher.HttpResponse
-
Resets the response and sends the specified HTTP status code.
- sendJson(Object, String, JsonNode) - Method in interface com.tccc.kos.commons.core.broker.MessageBroker
-
Sends a broker message from the specified session where the body is already in parsed JSON form.
- sendJson(Object, String, JsonNode) - Method in class com.tccc.kos.core.service.app.AppMessageBroker
- sendMessage(String) - Method in class com.tccc.kos.commons.web.client.WebsocketClient
-
Send a message to the websocket connection.
- sendMessage(String) - Method in interface com.tccc.kos.commons.web.websocket.WebsocketConnection
-
Send a message to the associated client.
- sendMsg(OutboundMessage) - Method in class com.tccc.kos.commons.web.websocket.router.WebsocketRouter
-
Send a message via the router.
- sendMsg(WebsocketConnection, RoutedMessage) - Method in class com.tccc.kos.commons.web.websocket.router.RouterEngine
-
Convenience method to send a message to a connection
- SequencedFuture - Class in com.tccc.kos.commons.util.concurrent.future
-
Allows a list of individual futures to be run in sequence, where the overall state of
SequencedFuture
reflects the result of the sequence. - SequencedFuture(String) - Constructor for class com.tccc.kos.commons.util.concurrent.future.SequencedFuture
-
Creates a
SequencedFuture
to hold child futures. - SerialAdapterFactory - Class in com.tccc.kos.core.service.udev.serial
-
Factory that is notified of serial devices and can return an adapter for a given device to claim the device and have the adapter automatically started.
- SerialAdapterFactory() - Constructor for class com.tccc.kos.core.service.udev.serial.SerialAdapterFactory
- SerialDevice - Class in com.tccc.kos.core.service.udev.serial
-
Wraps a
UdevDevice
and provides easy access to serial specific data. - SerialDevice() - Constructor for class com.tccc.kos.core.service.udev.serial.SerialDevice
- serialize(JsonViewWrapper, JsonGenerator, SerializerProvider) - Method in class com.tccc.kos.commons.util.json.JsonViewWrapperSerializer
- SerialService - Class in com.tccc.kos.core.service.udev.serial
-
Service that manages serial devices.
- set(String, String) - Method in class com.tccc.kos.commons.core.service.keyval.KeyValNameSpace
-
Set the value of the specified key.
- set(String, String, boolean) - Method in class com.tccc.kos.commons.core.service.keyval.KeyValNameSpace
-
Set the value of the specified key with optional encryption.
- set(String, String, String) - Method in class com.tccc.kos.commons.core.service.keyval.KeyValService
-
Set the value of the specified key.
- set(String, String, String, boolean) - Method in class com.tccc.kos.commons.core.service.keyval.KeyValService
-
Set the value of the specified key with optional encryption.
- set(K, V) - Method in class com.tccc.kos.commons.util.MultiValueMap
-
Sets the given key to a list containing one item, which is the given value.
- setAbortAbandonedTimeoutMs(int) - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
A common bug when using futures is to never complete the future.
- setAbortState(FutureState) - Method in class com.tccc.kos.commons.util.concurrent.future.ParallelFuture
-
Sets what this future should do if a child aborts.
- setAbsDelay(int) - Method in class com.tccc.kos.commons.util.concurrent.AdjustableCallback
-
Sets the delay for the timer, regardless of how much time is left on the current timer.
- setAccess(KabEntry) - Method in interface com.tccc.kos.commons.kab.KabAccessProvider
-
Override uid/gid/permissions as needed for the specified directory entry.
- setAccess(KabEntry) - Method in class com.tccc.kos.commons.kab.PermAccessProvider
-
Sets the uid (userId), gid (groupId), and permissions for the given KabEntry.
- setAccessProvider(KabAccessProvider) - Method in class com.tccc.kos.commons.kab.KabOutputStreamBuilder
- setActionRole(String) - Method in class com.tccc.kos.commons.core.service.trouble.TroubleInfo
- setActiveManifest(ResolvedDeviceManifest, ResolvedNodeManifest) - Method in class com.tccc.kos.core.service.manifest.ManifestService
-
Called during boot to record the currently active manifest.
- setActiveRegion(BaseRegion) - Method in class com.tccc.kos.core.service.region.RegionService
-
Set the currently active region.
- setActiveRegion(String) - Method in class com.tccc.kos.core.service.region.RegionService
-
Set the currently active region.
- setAddr(KosAddress) - Method in class com.tccc.kos.commons.web.websocket.router.RouterConn
- setAlias(String) - Method in class com.tccc.kos.commons.util.units.Unit
-
Sets the alias for the unit.
- setAll(Map<K, V>) - Method in class com.tccc.kos.commons.util.MultiValueMap
-
Copies the contents of the given map into this object's internal map.
- setAttr(Element, String, boolean) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Sets a boolean attribute value in the specified element.
- setAttr(Element, String, double) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Sets a double attribute value in the specified element.
- setAttr(Element, String, int) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Sets an int attribute value in the specified element.
- setAttr(Element, String, long) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Sets a long attribute value in the specified element.
- setAttr(Element, String, String) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Sets a string attribute value in the specified element.
- setAttr(Element, String, Date) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Sets a date attribute value in the specified element.
- setAttribute(Object, Object) - Method in interface com.tccc.kos.commons.util.AttributeAware
-
Sets the attribute for the given key.
- setAttribute(Object, Object) - Method in class com.tccc.kos.commons.web.client.WebsocketClient
-
Set an attribute to the client which will be added to any connections created by this client.
- setBasePath(File) - Method in class com.tccc.kos.core.service.spawn.Adapter
-
Set the base path to the executable.
- setBasePath(String) - Method in class com.tccc.kos.core.service.spawn.Adapter
-
Set the base path to the executable.
- setBody(Object) - Method in class com.tccc.kos.commons.core.broker.MessageData
- setBody(Object) - Method in class com.tccc.kos.commons.web.api.ApiRequest
-
Returns
this
. - setBody(Object) - Method in class com.tccc.kos.commons.web.websocket.router.msg.OutboundMessage
- setBody(String) - Method in class com.tccc.kos.commons.web.websocket.router.msg.InboundMessage
-
Set the unparsed body of the message.
- setByteOrder(String) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIdentity
- setCancelOnAbort(boolean) - Method in class com.tccc.kos.commons.util.concurrent.future.ParallelFuture
- setCancelOnFail(boolean) - Method in class com.tccc.kos.commons.util.concurrent.future.ParallelFuture
- setChildren(List<KabEntry>) - Method in class com.tccc.kos.commons.kab.KabEntry
- setClientId(String) - Method in class com.tccc.kos.commons.util.net.KosAddress
-
Sets the client's identifier.
- setCloseCallback(BlinkCloseCallback) - Method in class com.tccc.kos.commons.core.service.blink.BlinkConn
- setColor(String) - Method in class com.tccc.kos.commons.core.service.trouble.TroubleInfo
- setConfig(T) - Method in class com.tccc.kos.commons.core.service.AbstractConfigurableService
-
Sets the configuration bean.
- setConfig(T) - Method in class com.tccc.kos.commons.core.service.config.AbstractConfigurable
-
Sets the configuration bean.
- setConfig(T) - Method in interface com.tccc.kos.commons.core.service.config.ConfigAware
-
Sets the initial config bean.
- setConfig(T) - Method in class com.tccc.kos.core.service.app.Application
-
Sets the configuration bean.
- setConfig(T) - Method in class com.tccc.kos.core.service.device.Device
- setConfigured(boolean) - Method in class com.tccc.kos.commons.core.service.config.BeanChanges
- setCount(int) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsRangeCount
- setCount(int) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemRangeCount.Params
- setCountry(String) - Method in class com.tccc.kos.core.service.region.BaseRegion
- setCurrentTags(List<String>) - Method in class com.tccc.kos.core.service.udev.UdevDevice
- setCurrentValue(String) - Method in class com.tccc.kos.commons.core.service.config.ValPair
-
Sets the current value.
- setData(Object) - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
Sets optional data associated with the work.
- setData(Object) - Method in class com.tccc.kos.commons.util.json.JsonViewWrapper
- setData(T) - Method in class com.tccc.kos.commons.core.dispatcher.ResponseEnvelope
-
Sets the response's data object.
- setData(T) - Method in class com.tccc.kos.commons.core.httpclient.JsonResp
-
Sets the data object.
- setDataSource(DataSource) - Method in interface com.tccc.kos.commons.db.DatabaseMigrator
-
Sets the final
DataSource
to use after migration is complete. - setDate(int, int, int) - Method in class com.tccc.kos.core.primary.service.nodemgr.NodeMgrService
-
Set the date on all nodes.
- setDateFormatId(String) - Method in class com.tccc.kos.core.service.region.BaseRegion
- setDateFormatId(String) - Method in class com.tccc.kos.core.service.region.RegionSettings
- setDateHeader(String, long) - Method in interface com.tccc.kos.commons.core.dispatcher.HttpResponse
-
Sets the specified date header.
- setDecimals(int) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsKeypad
- setDecimals(int) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsRangeCount
- setDecimals(int) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsRangeInterval
- setDecimals(int) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemKeypad.Params
- setDecimals(int) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemRangeCount.Params
- setDecimals(int) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemRangeInterval.Params
- setDefault(boolean) - Method in class com.tccc.kos.commons.util.units.Unit
-
Sets the default flag on the unit.
- setDefaultHost(NodeId) - Method in class com.tccc.kos.core.service.browser.Browser
-
Set the default host to use for urls that don't specify a hostname.
- setDefaultHost(String) - Method in class com.tccc.kos.core.service.browser.Browser
-
Set the default host to use for urls that don't specify a hostname.
- setDefaultPort(int) - Method in class com.tccc.kos.core.service.browser.Browser
-
Set the default port to use for urls that don't specify a hostname/port.
- setDefaultTimeout(int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIface
- setDefaultTimeout(int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgSession
-
Set the default timeout for receive operations.
- setDelay(int) - Method in class com.tccc.kos.commons.util.concurrent.AdjustableCallback
-
Sets a new delay value for the timer.
- setDelay(int) - Method in class com.tccc.kos.commons.util.concurrent.TriggeredCallback
-
Sets a new delay value for the timer.
- setDescriptor(JsonDescriptor) - Method in class com.tccc.kos.core.service.device.Device
- setDevice(Device) - Method in class com.tccc.kos.core.service.app.SystemApplication
-
Set the
Device
that represents the physical device to external systems. - setDeviceManifest(ResolvedDeviceManifest) - Method in class com.tccc.kos.core.service.manifest.SoftwareInfoBuilder
-
Set the device manifest to convert.
- setDeviceType(String) - Method in class com.tccc.kos.commons.manifest.install.InstallViewDeviceManifest
- setDevLinks(List<String>) - Method in class com.tccc.kos.core.service.udev.UdevDevice
- setDevname(String) - Method in class com.tccc.kos.core.service.udev.UdevDevice
- setDir(boolean) - Method in class com.tccc.kos.commons.kab.KabEntry
- setDstAddr(String) - Method in class com.tccc.kos.commons.web.websocket.router.msg.RoutedMessage
-
Sets the destination address of the message (only used by the router), which is simply the "dst-addr" header.
- setEnabled(boolean) - Method in class com.tccc.kos.commons.core.vfs.AbstractVFSSource
-
Set the enabled flag for the source.
- setEnd(double) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsRangeCount
- setEnd(double) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsRangeInterval
- setEnd(double) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemRangeCount.Params
- setEnd(double) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemRangeInterval.Params
- setEndpoint(WebsocketEndpoint) - Method in class com.tccc.kos.commons.web.client.WebsocketClient
-
Set the endpoint.
- setEndTimeMono(long) - Method in class com.tccc.kos.core.service.spawn.Lifecycle
- setEnvelope(ResponseEnvelope<T>) - Method in class com.tccc.kos.commons.core.httpclient.JsonResp
-
Sets the response envelope.
- setError(int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsg
-
Set the error code for outgoing messages.
- setError(String) - Method in class com.tccc.kos.commons.core.dispatcher.ResponseEnvelope
-
Sets the error message.
- setEstimatedTimeMs(long) - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
Sets the total estimated time of the operation in milliseconds.
- setException(Exception) - Method in class com.tccc.kos.commons.core.httpclient.JsonResp
-
Sets the exception.
- setFailState(FutureState) - Method in class com.tccc.kos.commons.util.concurrent.future.ParallelFuture
-
Sets what this future should do if a child fails.
- setFailState(FutureState) - Method in class com.tccc.kos.commons.util.concurrent.future.SequencedFuture
-
Sets what this work should do if a child fails.
- setFragment(String) - Method in class com.tccc.kos.commons.util.net.UriBuilder
-
Sets the fragment for the URI.
- setGroup(String) - Method in class com.tccc.kos.commons.kab.KabEntry
- setGroup(String) - Method in class com.tccc.kos.commons.util.json.fragments.SoftwareInfoDescriptorFragment
- setGroup(String) - Method in class com.tccc.kos.core.service.spawn.SpawnProcess
-
Set the group that the program should be run as.
- setHash(String) - Method in class com.tccc.kos.commons.manifest.BaseManifestArtifact
- setHeader(String, String) - Method in interface com.tccc.kos.commons.core.dispatcher.HttpResponse
-
Sets the specified response header.
- setHeaders(Map<String, String>) - Method in class com.tccc.kos.commons.web.api.ApiRequest
-
Returns
this
. - setHeadersModified(boolean) - Method in class com.tccc.kos.commons.web.websocket.router.msg.RoutedMessage
-
Sets the internal "headers modified" flag.
- setHidden(boolean) - Method in class com.tccc.kos.core.service.region.BaseRegion
- setHost(String) - Method in class com.tccc.kos.commons.util.net.UriBuilder
-
Sets the host of the URI.
- setId(String) - Method in class com.tccc.kos.core.service.region.BaseRegion
- setIdentifier(String) - Method in class com.tccc.kos.commons.kab.KabOutputStreamBuilder
- setIdentifier(String) - Method in class com.tccc.kos.commons.kab.ZipToKabCopier
- setIdentifier(String) - Method in class com.tccc.kos.commons.manifest.BaseManifestArtifact
- setIfaceNum(int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIface
- setInBufSize(int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIdentity
- setIndex(int) - Method in class com.tccc.kos.commons.util.concurrent.future.SequencedFuture
-
Sets the index of the next child future to run.
- setInnerStream(OutputStream) - Method in class com.tccc.kos.commons.util.ByteOrderOutputStream
-
Set the inner output stream.
- setInterfaces(List<BinaryMsgIdentity.IfaceInfo>) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIdentity
- setInterruptable(boolean) - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
Sets
interruptable
state. - setInterval(double) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsRangeInterval
- setInterval(int) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemRangeInterval.Params
- setInvalid() - Method in class com.tccc.kos.core.service.hardware.HardwareLink
-
Set the link invalid.
- setJdbi(Jdbi) - Method in interface com.tccc.kos.commons.db.DatabaseMigrator
-
Sets the final
Jdbi
instance to use after migration is complete. - setJsonBody(JsonNode) - Method in class com.tccc.kos.commons.core.broker.MessageData
- setKab(KabFile) - Method in class com.tccc.kos.core.service.app.AppLoader
- setKabFile(KabFile) - Method in class com.tccc.kos.commons.kab.KabEntry
- setKabs(List<BaseManifestArtifact>) - Method in class com.tccc.kos.commons.manifest.install.InstallViewDeviceManifest
- setKey(String, boolean, String) - Method in class com.tccc.kos.commons.core.service.keyval.KeyValNameSpaceController
- setKeySet(KeySet) - Method in class com.tccc.kos.commons.kab.KabOutputStreamBuilder
- setKeySet(KeySet) - Method in class com.tccc.kos.commons.kab.ZipToKabCopier
- setLanguages(List<LanguageDescriptorFragment.Language>) - Method in class com.tccc.kos.commons.util.json.fragments.LanguageDescriptorFragment
- setLayers(List<BaseManifestArtifact>) - Method in class com.tccc.kos.commons.manifest.install.InstallViewDeviceManifest
- setLen(int) - Method in class com.tccc.kos.commons.kab.KabEntry
- setList(List<Object>) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsList
- setLocale(String) - Method in class com.tccc.kos.commons.util.json.fragments.LanguageDescriptorFragment.Language
- setLogFile(String) - Method in class com.tccc.kos.core.service.spawn.SpawnProcess
- setMajor(int) - Method in class com.tccc.kos.commons.core.dispatcher.ResponseVersion
- setManifestId(String) - Method in class com.tccc.kos.core.primary.service.nodemgr.install.InstallBuilder
-
Set the identifier of the manifest.
- setManifestKab(KabFile) - Method in class com.tccc.kos.core.primary.service.nodemgr.install.InstallBuilder
-
Set the manifest kab.
- setMax(double) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsKeypad
- setMax(double) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemKeypad.Params
- setMaxFailedConnects(int) - Method in class com.tccc.kos.commons.web.client.WebsocketClient
-
Set the max number of failed connects before stopping the client.
- setMaxFailureCount(int) - Method in class com.tccc.kos.commons.web.client.WebsocketClient
-
Set the max failure count when computing the reconnect delay.
- setMaxVariance(double) - Method in class com.tccc.kos.commons.util.concurrent.AdjustableCallback
-
Sets the maximum delay variance.
- setMaxVariance(double) - Method in class com.tccc.kos.commons.util.concurrent.TriggeredCallback
-
Sets the maximum delay variance.
- setMethod(RequestMethod) - Method in class com.tccc.kos.commons.web.api.ApiRequest
-
Returns
this
. - setMin(double) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsKeypad
- setMin(double) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemKeypad.Params
- setMiniHash(String) - Method in class com.tccc.kos.commons.manifest.BaseManifestArtifact
- setMinor(int) - Method in class com.tccc.kos.commons.core.dispatcher.ResponseVersion
- setMinSuccessfulConnectTimeMS(long) - Method in class com.tccc.kos.commons.web.client.WebsocketClient
-
Set the minimum time a connection must be connected before a disconnect is considered a failure.
- setMinVariance(double) - Method in class com.tccc.kos.commons.util.concurrent.AdjustableCallback
-
Sets the minimum delay variance.
- setMinVariance(double) - Method in class com.tccc.kos.commons.util.concurrent.TriggeredCallback
-
Sets the minimum delay variance.
- setMsgHandler(WebsocketMsgHandler) - Method in class com.tccc.kos.commons.web.client.WebsocketClient
-
Set the message handler to receive incoming messages.
- setMsgHandler(WebsocketMsgHandler) - Method in interface com.tccc.kos.commons.web.websocket.WebsocketConnection
-
Set the message handler to use for incoming messages.
- setName(String) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIdentity.IfaceInfo
- setName(String) - Method in class com.tccc.kos.commons.core.service.blink.BlinkIdentity
- setName(String) - Method in class com.tccc.kos.commons.core.service.handle.Handle
-
Sets the name.
- setName(String) - Method in class com.tccc.kos.commons.kab.KabEntry
- setName(String) - Method in class com.tccc.kos.commons.kab.KabOutputStreamBuilder
- setName(String) - Method in class com.tccc.kos.commons.kab.ZipToKabCopier
- setName(String) - Method in class com.tccc.kos.commons.manifest.BaseManifestArtifact
- setName(String) - Method in class com.tccc.kos.commons.util.json.fragments.LanguageDescriptorFragment.Language
- setName(String) - Method in class com.tccc.kos.commons.util.json.fragments.SoftwareInfoDescriptorFragment
- setName(String) - Method in class com.tccc.kos.core.service.browser.BrowserId
- setName(String) - Method in class com.tccc.kos.core.service.device.BaseDeviceConfig
- setName(String) - Method in class com.tccc.kos.core.service.device.Device
-
Set the device name.
- setNode(String) - Method in class com.tccc.kos.commons.web.api.ApiRequest
-
Returns
this
. - setNodeId(NodeId) - Method in class com.tccc.kos.core.service.browser.BrowserId
- setNodeId(NodeId) - Method in class com.tccc.kos.core.service.spawn.SpawnProcess
- setNodeName(String) - Method in class com.tccc.kos.commons.core.service.blink.BlinkIdentity
- setNodeName(String) - Method in class com.tccc.kos.commons.util.NodeId
- setNodeType(String) - Method in class com.tccc.kos.commons.core.service.blink.BlinkIdentity
- setNodeType(String) - Method in class com.tccc.kos.commons.util.NodeId
- setNonEmptyTag(Element, String, String) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Sets a string tag value in the specified element.
- setNum(int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIdentity.IfaceInfo
- setObj(String, Object) - Method in class com.tccc.kos.commons.core.service.keyval.KeyValNameSpace
-
Set the value of the specified key to the json of the specified value object.
- setObj(String, Object, boolean) - Method in class com.tccc.kos.commons.core.service.keyval.KeyValNameSpace
-
Set the value of the specified key to the json of the specified value object with optional encryption.
- setObj(String, String, Object) - Method in class com.tccc.kos.commons.core.service.keyval.KeyValService
-
Set the value of the specified key to the json of the specified value object.
- setObj(String, String, Object, boolean) - Method in class com.tccc.kos.commons.core.service.keyval.KeyValService
-
Set the value of the specified key to the json of the specified value object with optional encryption.
- setOffset(int) - Method in class com.tccc.kos.commons.kab.KabEntry
- setOnAdd(AutowiredList.ChangeListener) - Method in class com.tccc.kos.commons.util.AutowiredList
- setOnBlocked(Runnable) - Method in class com.tccc.kos.commons.util.Block
-
Set the callback to run when transitioning to a blocked state.
- setOnRemove(AutowiredList.ChangeListener) - Method in class com.tccc.kos.commons.util.AutowiredList
- setOnUnblocked(Runnable) - Method in class com.tccc.kos.commons.util.Block
-
Set the callback to run when transitioning to an unblocked state.
- setOrdered() - Method in class com.tccc.kos.commons.web.api.ApiRequest
-
Flags the request as being strictly ordered.
- setOutBufSize(int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIdentity
- setOutputFile(File) - Method in class com.tccc.kos.commons.kab.KabOutputStreamBuilder
- setOutputStream(OutputStream) - Method in class com.tccc.kos.commons.kab.KabOutputStreamBuilder
- setOwner(UdevDeviceOwner) - Method in class com.tccc.kos.core.service.udev.UdevDevice
- setParam(UriParam) - Method in class com.tccc.kos.commons.util.net.UriBuilder
-
Removes all instances of the given parameter and replaces it with the new parameter.
- setParam(String, String) - Method in class com.tccc.kos.commons.util.net.UriBuilder
-
Removes all instances of the given parameter and replaces it with the new parameter.
- setParams(List<UriParam>) - Method in class com.tccc.kos.commons.util.net.UriBuilder
-
Replaces all existing parameters with the new list of parameters.
- setParent(BeanContext) - Method in class com.tccc.kos.commons.core.context.BeanContext
-
Set the parent context.
- setParent(VFSParent) - Method in class com.tccc.kos.commons.core.vfs.AbstractVFSSource
-
Sets the VFS parent.
- setParent(VFSParent) - Method in interface com.tccc.kos.commons.core.vfs.VFSSource
-
Sets the parent.
- setParent(KabEntry) - Method in class com.tccc.kos.commons.kab.KabEntry
- setParent(FutureWork) - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
Sets the parent of this future.
- setPath(File) - Method in class com.tccc.kos.core.service.spawn.Adapter
- setPath(File) - Method in class com.tccc.kos.core.service.spawn.SpawnProcess
-
Set the path to the executable.
- setPath(String) - Method in class com.tccc.kos.commons.core.service.config.BeanUpdate
-
Set the path of the bean to apply the updates to.
- setPath(String) - Method in class com.tccc.kos.commons.kab.KabEntry
-
Setting the path also sets the name.
- setPath(String) - Method in class com.tccc.kos.commons.util.net.UriBuilder
-
Sets the path for the URI.
- setPath(String) - Method in class com.tccc.kos.core.service.spawn.Adapter
- setPath(String) - Method in class com.tccc.kos.core.service.spawn.SpawnProcess
-
Set the path to the executable.
- setPaths(String...) - Method in class com.tccc.kos.commons.util.net.UriBuilder
-
Sets the path for the URI.
- setPaths(List<String>) - Method in class com.tccc.kos.commons.util.net.UriBuilder
-
Sets the path for the URI.
- setPermissions(short) - Method in class com.tccc.kos.commons.kab.KabEntry
- setPort(Integer) - Method in class com.tccc.kos.commons.util.net.UriBuilder
-
Sets the port number of the URI.
- setPreviousValue(String) - Method in class com.tccc.kos.commons.core.service.config.ValPair
-
Sets the previous value.
- setPrimary(boolean) - Method in class com.tccc.kos.commons.core.service.blink.BlinkIdentity
- setPriority(int) - Method in class com.tccc.kos.core.service.spawn.SpawnProcess
-
Set the priority of the process.
- setPriority(SpawnProcess, int) - Method in class com.tccc.kos.core.service.spawn.SpawnService
-
Set the priority of the specified process.
- setProgress(int) - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
Sets the progress value.
- setProperties(Map<String, String>) - Method in class com.tccc.kos.core.service.udev.UdevDevice
- setProtocol(String) - Method in class com.tccc.kos.commons.core.service.blink.BlinkIdentity
- setRank(int) - Method in class com.tccc.kos.commons.core.service.trouble.TroubleInfo
- setReady() - Method in interface com.tccc.kos.commons.util.ready.Ready
-
Call this method to indicate that the object is ready.
- setReady() - Method in class com.tccc.kos.commons.util.ready.ReadyIndicator
-
Call this method to indicate that the indicator is ready.
- setReady(Object) - Method in class com.tccc.kos.commons.util.ready.MultiReady
-
Marks a given state as ready.
- setReason(String) - Method in class com.tccc.kos.commons.core.service.trouble.Trouble
- setReconnect(boolean) - Method in class com.tccc.kos.commons.web.client.WebsocketClient
-
Set reconnect flag.
- setRecurring(boolean) - Method in class com.tccc.kos.commons.util.concurrent.AdjustableCallback
-
Sets the
recurring
flag. - setRemainingTimeMs(long) - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
Updates the estimated time of the operation with the amount of time remaining.
- setReplace(boolean) - Method in class com.tccc.kos.commons.core.service.config.BeanUpdate
-
Set the replace flag.
- setResolvable(boolean) - Method in class com.tccc.kos.commons.core.service.trouble.Trouble
- setResponse(Object) - Method in class com.tccc.kos.core.service.browser.chrome.cmds.ChromeCmd
-
Sets the response object for this command.
- setResponseClass(Class<T>) - Method in class com.tccc.kos.commons.web.api.ApiRequest
-
Returns
this
. - setRetryDelayBaseTimeMS(long) - Method in class com.tccc.kos.commons.web.client.WebsocketClient
-
Set the base delay time for a reconnect.
- setRetryDelayMaxTimeMS(long) - Method in class com.tccc.kos.commons.web.client.WebsocketClient
-
Set the max retry delay.
- setRetryDelayPerFailureTimeMS(long) - Method in class com.tccc.kos.commons.web.client.WebsocketClient
-
Set the delay to add to the base retry time when there are connection failures.
- setRevision(int) - Method in class com.tccc.kos.commons.core.service.blink.BlinkIdentity
- setRouterId(String) - Method in class com.tccc.kos.commons.util.net.KosAddress
-
Sets the router's identifier.
- setRouterTTL(int) - Method in class com.tccc.kos.commons.web.websocket.router.RouterEngine
- setRunnable(FutureRunnable) - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
Sets the
runnable
to be performed by the work. - setRunnable(FutureRunnable) - Method in class com.tccc.kos.commons.util.concurrent.future.ParallelFuture
- setRunnable(FutureRunnable) - Method in class com.tccc.kos.commons.util.concurrent.future.SequencedFuture
- setScheme(String) - Method in class com.tccc.kos.commons.util.net.UriBuilder
-
Sets the
scheme
of the URI. - setSection(ResolvedManifestSection) - Method in class com.tccc.kos.core.service.app.AppLoader
- setSecure(Boolean) - Method in class com.tccc.kos.commons.util.net.UriBuilder
-
Sets the
secure
flag. - setSession(Object) - Method in class com.tccc.kos.commons.core.broker.MessageData
- setSize(long) - Method in class com.tccc.kos.commons.manifest.BaseManifestArtifact
- setSrcAddr(String) - Method in class com.tccc.kos.commons.web.websocket.router.msg.RoutedMessage
-
Sets the source address of the message (only used by the router), which is simply the "src-addr" header.
- setStart(double) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsRangeCount
- setStart(double) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsRangeInterval
- setStart(double) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemRangeCount.Params
- setStart(double) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemRangeInterval.Params
- setState(FutureState, String, ReasonData) - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
Sets the state of the work.
- setState(FutureState, String, Object, Class<?>) - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
Sets the state of the work.
- setStateReady(Object) - Method in class com.tccc.kos.commons.util.ready.ReadyIndicator
-
Call this method to indicate that the specified state is ready, where
state
corresponds to aaddState(state)
call. - setStatus(int) - Method in interface com.tccc.kos.commons.core.dispatcher.HttpResponse
-
Sets the HTTP status code of the response.
- setStatus(int) - Method in class com.tccc.kos.commons.core.dispatcher.ResponseEnvelope
-
Sets the HTTP status
- setStatus(int) - Method in class com.tccc.kos.commons.core.httpclient.JsonResp
-
Sets the HTTP status code.
- setSubscription(String) - Method in class com.tccc.kos.commons.core.broker.MessageData
- setSubsystem(String) - Method in class com.tccc.kos.core.service.udev.UdevDevice
- setSysname(String) - Method in class com.tccc.kos.core.service.udev.UdevDevice
- setSyspath(String) - Method in class com.tccc.kos.core.service.udev.UdevDevice
- setTableRebuildDelay(int) - Method in class com.tccc.kos.commons.web.websocket.router.RouterEngine
-
Set the table rebuild delay.
- setTag(String) - Method in class com.tccc.kos.commons.kab.KabOutputStreamBuilder
- setTag(String) - Method in class com.tccc.kos.commons.kab.ZipToKabCopier
- setTag(Element, String, boolean) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Sets a boolean tag value in the specified element.
- setTag(Element, String, double) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Sets a double tag value in the specified element.
- setTag(Element, String, int) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Sets an int tag value in the specified element.
- setTag(Element, String, long) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Sets a long tag value in the specified element.
- setTag(Element, String, String) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Sets a string tag value in the specified element.
- setTag(Element, String, Date) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
Sets a date tag value in the specified element.
- setTime(int, int, int) - Method in class com.tccc.kos.core.primary.service.nodemgr.NodeMgrService
-
Set the time on all nodes.
- setTimeFormatId(String) - Method in class com.tccc.kos.core.service.region.BaseRegion
- setTimeFormatId(String) - Method in class com.tccc.kos.core.service.region.RegionSettings
- setTimeout(int) - Method in class com.tccc.kos.commons.web.api.ApiRequest
-
Returns
this
. - setTimeout(long) - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
Adds a timeout to the work.
- setTimeout(long, FutureRunnable) - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
Adds a timeout to the work that will call the specified callback.
- setTimeout(long, String) - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
Adds a timeout to the work.
- setTimeZone(String) - Method in class com.tccc.kos.core.primary.service.nodemgr.NodeMgrService
-
Set the timezone on all nodes.
- setTimeZone(String) - Method in class com.tccc.kos.core.service.region.RegionSettings
- setTimeZones(List<String>) - Method in class com.tccc.kos.core.service.region.BaseRegion
- setTopic(String) - Method in class com.tccc.kos.commons.core.broker.MessageData
- setTrace(String) - Method in class com.tccc.kos.commons.web.api.ApiRequest
-
Sets the "trace" header for the message.
- setTrace(String) - Method in class com.tccc.kos.commons.web.websocket.router.msg.RoutedMessage
-
Sets the trace header for the message, which is simply the "trace" header.
- setTracker(String) - Method in interface com.tccc.kos.commons.util.Tracker
-
Default implementation of
setTracker()
. - setType(String) - Method in class com.tccc.kos.commons.kab.KabOutputStreamBuilder
- setType(String) - Method in class com.tccc.kos.commons.kab.ZipToKabCopier
- setType(String) - Method in class com.tccc.kos.commons.web.websocket.router.msg.RoutedMessage
-
Sets the message type, which is the simply "type" header.
- setUnitSystemId(String) - Method in class com.tccc.kos.core.service.region.BaseRegion
- setUnitSystemId(String) - Method in class com.tccc.kos.core.service.region.RegionSettings
- setUnitSystems(Map<String, OptionsUnitSystemKeypad.Params>) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemKeypad
- setUnitSystems(Map<String, OptionsUnitSystemRangeCount.Params>) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemRangeCount
- setUnitSystems(Map<String, OptionsUnitSystemRangeInterval.Params>) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemRangeInterval
- setUnitSystems(Map<String, List<Object>>) - Method in class com.tccc.kos.commons.core.service.config.options.OptionsUnitSystemList
- setUpdateRetryCount(int) - Method in class com.tccc.kos.core.service.firmware.UpdateTask
-
Set the retry count for
update()
calls. - setUpdateRetryDelayMs(int) - Method in class com.tccc.kos.core.service.firmware.UpdateTask
-
Set the delay between retries of
update()
. - setUri(URI) - Method in class com.tccc.kos.commons.web.client.WebsocketEndpoint
-
Sets this endpoint's URI.
- setUrl(String) - Method in class com.tccc.kos.commons.web.api.ApiRequest
-
Returns
this
. - setUser(String) - Method in class com.tccc.kos.commons.kab.KabEntry
- setUser(String) - Method in class com.tccc.kos.core.service.spawn.SpawnProcess
-
Set the user (and group) that the program should be run as.
- setValues(Map<String, Object>) - Method in class com.tccc.kos.commons.core.service.config.BeanUpdate
- setVar(String, Object) - Method in class com.tccc.kos.commons.util.net.UriBuilder
-
Replaces the {name} macro in the path with the specified value.
- setVersion(int) - Method in class com.tccc.kos.commons.core.client.binarymsg.BinaryMsgClientIface
- setVersion(int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIdentity.IfaceInfo
- setVersion(int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsgIface
- setVersion(int) - Method in class com.tccc.kos.commons.manifest.BaseDeviceManifest
- setVersion(ResponseVersion) - Method in class com.tccc.kos.commons.core.dispatcher.ResponseEnvelope
-
Sets the
ResponseVersion
object. - setVersion(String) - Method in class com.tccc.kos.commons.kab.KabOutputStreamBuilder
- setVersion(String) - Method in class com.tccc.kos.commons.kab.ZipToKabCopier
- setVersion(String) - Method in class com.tccc.kos.commons.manifest.BaseManifestArtifact
- setVersion(String) - Method in class com.tccc.kos.commons.util.json.fragments.SoftwareInfoDescriptorFragment
- setView(Class<?>) - Method in class com.tccc.kos.commons.core.service.state.StateBean
-
Set the optional view class to use when converting this bean to json before being broadcast.
- setView(Class<?>) - Method in class com.tccc.kos.commons.util.json.JsonViewWrapper
- setView(Class<?>) - Method in class com.tccc.kos.commons.web.websocket.router.msg.OutboundMessage
- setViewClass(Class<?>) - Method in interface com.tccc.kos.commons.core.dispatcher.HttpResponse
-
Set the view class to use
- setVisibleRole(String) - Method in class com.tccc.kos.commons.core.service.trouble.TroubleInfo
- setWorkingDir(File) - Method in class com.tccc.kos.core.service.spawn.Adapter
- setWorkingDir(File) - Method in class com.tccc.kos.core.service.spawn.SpawnProcess
-
Set the working directory.
- setWorkingDir(String) - Method in class com.tccc.kos.core.service.spawn.Adapter
- setWorkingDir(String) - Method in class com.tccc.kos.core.service.spawn.SpawnProcess
-
Set the working directory.
- setZone(String) - Method in class com.tccc.kos.commons.util.net.KosAddress
-
Sets the name of the zone.
- shutdown() - Method in interface com.tccc.kos.commons.util.concurrent.Scheduler
-
Terminates the scheduler.
- SIGNATURE_LEN - Static variable in class com.tccc.kos.commons.kab.KabFile
- SIMPLE_TYPES - Static variable in class com.tccc.kos.commons.util.convert.Convert
- SimpleKeySet - Class in com.tccc.kos.commons.util.keys
-
KeySet that is manually created from key and cert.
- SimpleKeySet(PrivateKey, CertPath) - Constructor for class com.tccc.kos.commons.util.keys.SimpleKeySet
-
Create a KeySet by specifying the key and cert.
- SiUnitSystem - Class in com.tccc.kos.commons.util.units
-
This class encompases the International System of Units, known by the abbreviation "SI".
- SiUnitSystem() - Constructor for class com.tccc.kos.commons.util.units.SiUnitSystem
-
Creates an SI unit system instance.
- size() - Method in class com.tccc.kos.commons.util.ByteOrderOutputStream
-
Return the number of bytes written so far.
- size() - Method in class com.tccc.kos.commons.util.MultiValueMap
-
Returns the number of items in the map.
- skipBytes(int) - Method in class com.tccc.kos.commons.core.service.blink.binarymsg.BinaryMsg
- skipBytes(int) - Method in interface com.tccc.kos.commons.util.ByteOrderInput
-
Skip the specified number of bytes of input.
- skipBytes(int) - Method in class com.tccc.kos.commons.util.ByteOrderInputStream
- skipToEnd() - Method in class com.tccc.kos.commons.util.concurrent.future.SequencedFuture
-
Sets the index to the end of the list.
- sleep(long) - Method in interface com.tccc.kos.commons.util.concurrent.Scheduler
-
Wrapper for
Thread.sleep()
with default exception handling. - sleep(long) - Static method in class com.tccc.kos.commons.util.KosUtil
-
Shorthand access to
scheduler.sleep()
, which allows for sleeping without the need to handle interruptions. - SoftwareInfoBuilder - Class in com.tccc.kos.core.service.manifest
-
Builder to construct a
SoftwareInfo
from aResolvedDeviceManifest
. - SoftwareInfoBuilder() - Constructor for class com.tccc.kos.core.service.manifest.SoftwareInfoBuilder
- SoftwareInfoDescriptorFragment - Class in com.tccc.kos.commons.util.json.fragments
-
Standard descriptor fragment that will be included when describing what is in a kOS manifest.
- SoftwareInfoDescriptorFragment() - Constructor for class com.tccc.kos.commons.util.json.fragments.SoftwareInfoDescriptorFragment
- SpawnException - Exception in com.tccc.kos.core.service.spawn
-
Base exception for all spawn-related errors.
- SpawnException(String) - Constructor for exception com.tccc.kos.core.service.spawn.SpawnException
-
Constructs a new "spawn" exception with the specified message.
- SpawnInvalidPathException - Exception in com.tccc.kos.core.service.spawn
-
Exception thrown when a spawn attempt fails when either the specified path is not found or is not executable.
- SpawnInvalidPathException(String) - Constructor for exception com.tccc.kos.core.service.spawn.SpawnInvalidPathException
-
Constructs a new "spawn invalid path" exception with the specified message.
- SpawnProcess - Class in com.tccc.kos.core.service.spawn
-
Class that represents a single process that can be spawned.
- SpawnProcess() - Constructor for class com.tccc.kos.core.service.spawn.SpawnProcess
- SpawnService - Class in com.tccc.kos.core.service.spawn
-
Service that is used to start/stop native programs on this node or other nodes using a spawn session.
- SpawnTimeoutException - Exception in com.tccc.kos.core.service.spawn
-
Exception thrown when a spawn attempt fails because there was no response from the adapter.
- SpawnTimeoutException(String) - Constructor for exception com.tccc.kos.core.service.spawn.SpawnTimeoutException
-
Constructs a new "spawn timeout" exception with the specified message.
- split(String, String) - Static method in class com.tccc.kos.commons.util.misc.Str
-
Null-safe way to split a string into its individual components.
- split(String, String) - Static method in class com.tccc.kos.commons.xml.XmlUtil
-
This is basically a wrapper around StringTokenizer that makes it look more like string.split() which isn't available 1.3.1.
- StackedVFSSource - Class in com.tccc.kos.commons.core.vfs
-
Implementation of VFSSource that supports stacked sources.
- StackedVFSSource() - Constructor for class com.tccc.kos.commons.core.vfs.StackedVFSSource
-
Constructs a new instance.
- start() - Method in class com.tccc.kos.commons.core.client.binarymsg.BinaryMsgClient
-
Connect to the server and start processing messages.
- start() - Method in class com.tccc.kos.commons.util.concurrent.AdjustableCallback
-
Starts the timer.
- start() - Method in class com.tccc.kos.commons.web.client.WebsocketClient
-
Start the client which will cause it to try to connect to the currently configured endpoint if there is one.
- start() - Method in class com.tccc.kos.core.service.app.Application
-
Called from
AppLoader.start()
to notify the application is is being started. - start() - Method in class com.tccc.kos.core.service.app.AppLoader
-
Start the application.
- start() - Method in class com.tccc.kos.core.service.assembly.Assembly
-
Callback during the installation phase.
- start() - Method in interface com.tccc.kos.core.util.Loadable
-
Called by the associated service to notify the bean that the bean resources have been prepared and the bean can use them to continue initialization.
- start(long) - Method in class com.tccc.kos.commons.util.concurrent.PushPullCallback
-
Triggers a callback after the specified delay.
- START - Enum constant in enum class com.tccc.kos.commons.util.concurrent.future.FutureEvent
- started() - Method in class com.tccc.kos.core.service.app.Application
-
Called after
start()
returns. - started() - Method in class com.tccc.kos.core.service.assembly.Assembly
-
Called after install completes and the assembly has been added to the device.
- started() - Method in interface com.tccc.kos.core.util.Loadable
-
Called after the associated service has finished processing the start event for the bean.
- startThread(String, boolean, Runnable) - Method in interface com.tccc.kos.commons.util.concurrent.Scheduler
-
Executes the
Runnable
in a newly created thread. - StateAware<T extends StateBean> - Interface in com.tccc.kos.commons.core.service.state
-
Interface that can be added to object that are put into
BeanContext
to indicate that they contains aStateBean
for use withStateService
. - StateBean - Class in com.tccc.kos.commons.core.service.state
-
Base class for beans that hold state and can be broadcast via message broker when they change.
- StateBean(String) - Constructor for class com.tccc.kos.commons.core.service.state.StateBean
- StateBeanListener - Interface in com.tccc.kos.commons.core.service.state
-
Interface for being notified when a
StateBean
changes state. - StateService - Class in com.tccc.kos.commons.core.service.state
-
File finder that backs all the file managers.
- stop() - Method in class com.tccc.kos.commons.core.client.binarymsg.BinaryMsgClient
-
Disconnect from the server.
- stop() - Method in class com.tccc.kos.commons.web.client.WebsocketClient
-
Stop the client.
- stop() - Method in class com.tccc.kos.core.service.app.Application
-
Called before the application is unloaded.
- stop() - Method in class com.tccc.kos.core.service.assembly.Assembly
-
Called when uninstalled from the device.
- stop() - Method in interface com.tccc.kos.core.util.Loadable
-
Called to stop the bean.
- Str - Class in com.tccc.kos.commons.util.misc
-
Utility class that handles various string-based operations.
- Str() - Constructor for class com.tccc.kos.commons.util.misc.Str
- stream() - Element in annotation interface com.tccc.kos.commons.core.dispatcher.annotations.ApiEndpoint
-
If true, this returns a stream, not json data.
- StreamingJsonReader - Class in com.tccc.kos.commons.util.json
-
This streaming JSON reader allows callbacks to be attached to logical paths of data in a JSON payload, which means that data can be extracted while the JSON is being parsed.
- StreamingJsonReader() - Constructor for class com.tccc.kos.commons.util.json.StreamingJsonReader
- StreamingJsonReaderCallback - Interface in com.tccc.kos.commons.util.json
-
Callback interface for token matching in
StreamingJsonReader
. - subscribe(Object, String, MessageBrokerCallback) - Method in interface com.tccc.kos.commons.core.broker.MessageBroker
-
Subscribes to the specified topic.
- subscribe(Object, String, MessageBrokerCallback) - Method in class com.tccc.kos.core.service.app.AppMessageBroker
- subscribe(Object, String, Class<?>, MessageBrokerCallback) - Method in interface com.tccc.kos.commons.core.broker.MessageBroker
-
Subscribes to the specified topic.
- subscribe(Object, String, Class<?>, MessageBrokerCallback) - Method in class com.tccc.kos.core.service.app.AppMessageBroker
- subscribe(String, MessageBrokerCallback) - Method in class com.tccc.kos.core.service.app.AppMessageBroker
-
Subscribes to the specified topic.
- subscribe(String, Class<?>, MessageBrokerCallback) - Method in class com.tccc.kos.core.service.app.AppMessageBroker
-
Subscribes to the specified topic.
- success() - Method in class com.tccc.kos.commons.util.concurrent.future.FutureWork
-
Marks the work "successful".
- success() - Method in class com.tccc.kos.commons.util.concurrent.future.ParallelFuture
- success() - Method in class com.tccc.kos.commons.util.concurrent.future.SequencedFuture
- SUCCESS - Enum constant in enum class com.tccc.kos.commons.util.concurrent.future.FutureEvent
- SUCCESS - Enum constant in enum class com.tccc.kos.commons.util.concurrent.future.FutureState
- SYSTEM_APP_ID - Static variable in class com.tccc.kos.core.service.app.AppService
- SYSTEM_SECTION - Static variable in class com.tccc.kos.core.service.app.AppService
- SystemApplication<T extends BaseAppConfig> - Class in com.tccc.kos.core.service.app
-
Base class for system applications, which simply adds convenience methods to the base Application type.
- SystemApplication() - Constructor for class com.tccc.kos.core.service.app.SystemApplication
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form