Package org.sensorhub.api.command
Class CommandStreamInfo
java.lang.Object
org.sensorhub.api.command.CommandStreamInfo
- All Implemented Interfaces:
 ICommandStreamInfo,IResource
Immutable object containing information about a command stream/interface.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classCommandStreamInfo.CommandStreamInfoBuilder<B extends CommandStreamInfo.CommandStreamInfoBuilder<B,T>, T extends CommandStreamInfo>  - 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected DataEncodingprotected DataComponentprotected DataEncodingprotected DataComponentprotected FeatureIdprotected TimeExtent - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sensorhub.api.command.ICommandStreamInfo
getFullName, hasInlineResult 
- 
Field Details
- 
name
 - 
description
 - 
systemID
 - 
validTime
 - 
recordStruct
 - 
recordEncoding
 - 
resultStruct
 - 
resultEncoding
 
 - 
 - 
Constructor Details
- 
CommandStreamInfo
public CommandStreamInfo() 
 - 
 - 
Method Details
- 
getSystemID
- Specified by:
 getSystemIDin interfaceICommandStreamInfo- Returns:
 - The identifier of the system that exposes this command stream
 
 - 
getControlInputName
- Specified by:
 getControlInputNamein interfaceICommandStreamInfo- Returns:
 - The name of the system control input that receives commands from this stream
 
 - 
getName
 - 
getDescription
- Specified by:
 getDescriptionin interfaceIResource- Returns:
 - A short description of the resource
 
 - 
getRecordStructure
- Specified by:
 getRecordStructurein interfaceICommandStreamInfo- Returns:
 - The structure of the command parameters
 
 - 
getRecordEncoding
- Specified by:
 getRecordEncodingin interfaceICommandStreamInfo- Returns:
 - The recommended encoding for the command parameters
 
 - 
getValidTime
- Specified by:
 getValidTimein interfaceICommandStreamInfo- Returns:
 - The time of validity of this command stream. This corresponds to the time during which the corresponding control input actually existed.
 
 - 
getExecutionTimeRange
- Specified by:
 getExecutionTimeRangein interfaceICommandStreamInfo- Returns:
 - The range of actuation times of commands that are part of this command stream, or null if no commands have been recorded yet.
 
 - 
getIssueTimeRange
- Specified by:
 getIssueTimeRangein interfaceICommandStreamInfo- Returns:
 - The range of issue times of commands that are part of this command stream, or null if no commands have been recorded yet.
 
 - 
getResultStructure
- Specified by:
 getResultStructurein interfaceICommandStreamInfo- Returns:
 - The structure of the inline command result data, or null if no inline result is generated by this command channel.
 
 - 
getResultEncoding
- Specified by:
 getResultEncodingin interfaceICommandStreamInfo- Returns:
 - The recommended encoding for the inline command result data, or null if no inline result is generated by this command channel.
 
 - 
hasResult
public boolean hasResult()- Specified by:
 hasResultin interfaceICommandStreamInfo- Returns:
 - True if this command channel generates command results, false otherwise. Note that this returns true whether results are generated inline or not.
 
 
 -