Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- added() - Method in record class eu.mihosoft.devcom.PortScanner.PortEvent
-
Returns the value of the
addedrecord component. - ADDED - Enum constant in enum class eu.mihosoft.devcom.PortScanner.EventType
-
Indicated port have been added.
- addPortListener(Consumer<PortScanner.PortEvent>) - Method in enum class eu.mihosoft.devcom.PortScanner
-
Adds a port listener to this scanner.
- addPropertyChangeListener(PropertyChangeListener) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- addPropertyChangeListener(PropertyChangeListener) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- appendCollections(boolean) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl.BuilderImpl
- appendCollections(boolean) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl.BuilderImpl
- applyFrom(DeviceInfo) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl.BuilderImpl
- applyFrom(PortConfig) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl.BuilderImpl
- asReadOnly() - Method in interface eu.mihosoft.devcom.DeviceInfo
-
Returns a read-only wrapper of '
DeviceInfo'. - asReadOnly() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- asReadOnly() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- asReadOnly() - Method in interface eu.mihosoft.devcom.PortConfig
-
Returns a read-only wrapper of '
PortConfig'. - AtomicFlag - Class in eu.mihosoft.devcom
-
Flag wrap for atomically flipping a boolean value.
- AtomicFlag() - Constructor for class eu.mihosoft.devcom.AtomicFlag
-
Creates a new atomic flag.
- AtomicFlag(boolean) - Constructor for class eu.mihosoft.devcom.AtomicFlag
-
Creates a new atomic flag.
- AtomicFlag(AtomicBoolean) - Constructor for class eu.mihosoft.devcom.AtomicFlag
-
Creates a new atomic flag.
B
- build() - Method in class eu.mihosoft.devcom.Command.Builder
-
Creates a new command.
- build() - Method in class eu.mihosoft.devcom.Device.DeviceBuilder
-
Returns a new device.
- build() - Method in interface eu.mihosoft.devcom.DeviceInfo.Builder
-
Builds a new '
DeviceInfo' instance. - build() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl.BuilderImpl
- build() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl.BuilderImpl
- build() - Method in interface eu.mihosoft.devcom.PortConfig.Builder
-
Builds a new '
PortConfig' instance. - BuilderImpl() - Constructor for class eu.mihosoft.devcom.impl.DeviceInfoImpl.BuilderImpl
- BuilderImpl() - Constructor for class eu.mihosoft.devcom.impl.PortConfigImpl.BuilderImpl
C
- caseDeviceInfo(DeviceInfo) - Method in interface eu.mihosoft.devcom.ReadOnlySwitchForDevcomModel
- caseDeviceInfo(DeviceInfo) - Method in interface eu.mihosoft.devcom.SwitchForDevcomModel
- casePortConfig(PortConfig) - Method in interface eu.mihosoft.devcom.ReadOnlySwitchForDevcomModel
- casePortConfig(PortConfig) - Method in interface eu.mihosoft.devcom.SwitchForDevcomModel
- clone() - Method in interface eu.mihosoft.devcom.DeviceInfo
-
Returns a deep clone of this object.
- clone() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- clone() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- clone() - Method in interface eu.mihosoft.devcom.PortConfig
-
Returns a deep clone of this object.
- close() - Method in class eu.mihosoft.devcom.COMPortConnection
-
Closes the connection to the specified port.
- close() - Method in class eu.mihosoft.devcom.Controller
-
Closes this controller (also shuts down schedulers/executors).
- close() - Method in interface eu.mihosoft.devcom.DataConnection
- close() - Method in class eu.mihosoft.devcom.Device
- close() - Method in class eu.mihosoft.devcom.StreamConnection
-
Closes the connection to the specified port.
- close(long) - Method in class eu.mihosoft.devcom.Controller
-
Closes this controller.
- closeAsync() - Method in class eu.mihosoft.devcom.Device
-
Closes this device asynchronously.
- Command<T> - Class in eu.mihosoft.devcom
-
A command for sending and receiving data to/from a device.
- Command(T, Consumer<T>, Boolean, Consumer<T>, BiConsumer<T, Exception>, Consumer<String>) - Constructor for class eu.mihosoft.devcom.Command
-
Creates a new command.
- Command.Builder<T> - Class in eu.mihosoft.devcom
-
Command builder.
- COMPortConnection<T> - Class in eu.mihosoft.devcom
-
COM port connection for reading and writing data from and to a COM port.
- COMPortConnection(DataFormat<T>) - Constructor for class eu.mihosoft.devcom.COMPortConnection
-
Creates a new connection instance.
- COMPortConnection(DataFormat<T>, Consumer<COMPortConnection<T>>, BiConsumer<COMPortConnection<T>, Exception>, BiConsumer<COMPortConnection<T>, Exception>) - Constructor for class eu.mihosoft.devcom.COMPortConnection
-
Creates a new connection instance.
- connectAsync(DataConnection<T, ?>) - Method in class eu.mihosoft.devcom.Device
-
Start the connection procedure.
- CONNECTED - Enum constant in enum class eu.mihosoft.devcom.Device.State
- CONNECTING - Enum constant in enum class eu.mihosoft.devcom.Device.State
- Controller<T,
V extends DataConnection<T, ?>> - Class in eu.mihosoft.devcom -
A device controller for concurrent communication, e.g., via (virtual) COM ports.
- Controller() - Constructor for class eu.mihosoft.devcom.Controller
-
Creates a new controller instance.
- Controller(Consumer<InterruptedException>) - Constructor for class eu.mihosoft.devcom.Controller
-
Creates a new controller instance.
D
- DataConnection<T,
V extends DataConnection<T, ?>> - Interface in eu.mihosoft.devcom -
Data connection for reading and writing data.
- DataConnection.Subscription - Interface in eu.mihosoft.devcom
-
Listener subscription.
- DataFormat<T> - Interface in eu.mihosoft.devcom
-
Data format for device communication.
- defaultValue(VObject) - Method in interface eu.mihosoft.devcom.ReadOnlySwitchForDevcomModel
-
Default value that will be return if the matching case method returns {code null}.
- defaultValue(VObject) - Method in interface eu.mihosoft.devcom.SwitchForDevcomModel
-
Default value that will be return if the matching case method returns
null. - Device<T> - Class in eu.mihosoft.devcom
-
A device combines a data connection and a controller.
- Device.DeviceBuilder<T> - Class in eu.mihosoft.devcom
-
Device builder.
- Device.State - Enum Class in eu.mihosoft.devcom
-
Connection state.
- DeviceInfo - Interface in eu.mihosoft.devcom
-
A representation of the immutable model object
eu.mihosoft.devcom.DeviceInfo. - DeviceInfo.Builder - Interface in eu.mihosoft.devcom
- DeviceInfoImpl - Class in eu.mihosoft.devcom.impl
-
An implementation of the immutable model object
eu.mihosoft.devcom.DeviceInfo. - DeviceInfoImpl.BuilderImpl - Class in eu.mihosoft.devcom.impl
- DISCONNECTED - Enum constant in enum class eu.mihosoft.devcom.Device.State
- DISCONNECTING - Enum constant in enum class eu.mihosoft.devcom.Device.State
- doSwitch(VObject) - Method in interface eu.mihosoft.devcom.ReadOnlySwitchForDevcomModel
- doSwitch(VObject) - Method in interface eu.mihosoft.devcom.SwitchForDevcomModel
E
- equals(Object) - Method in record class eu.mihosoft.devcom.PortScanner.PortEvent
-
Indicates whether some other object is "equal to" this one.
- ERROR - Enum constant in enum class eu.mihosoft.devcom.Device.State
- eu.mihosoft.devcom - package eu.mihosoft.devcom
- eu.mihosoft.devcom.impl - package eu.mihosoft.devcom.impl
- EVEN_PARITY - Enum constant in enum class eu.mihosoft.devcom.ParityBits
- EventException(String, Exception...) - Constructor for exception eu.mihosoft.devcom.PortScanner.EventException
-
Creates a new event exception.
- EventException(String, List<Exception>) - Constructor for exception eu.mihosoft.devcom.PortScanner.EventException
-
Creates a new event exception.
F
- findPort(List<String>, Function<String, COMPortConnection<T>>, Function<COMPortConnection<T>, Boolean>) - Static method in enum class eu.mihosoft.devcom.PortScanner
-
Returns a port that can successfully be connected to according to the specified try-connect function.
G
- getBaudRate() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- getBaudRate() - Method in interface eu.mihosoft.devcom.PortConfig
-
Returns the value of the 'baudRate' property.
- getConnectionState() - Method in class eu.mihosoft.devcom.Device
-
Returns the current connection state.
- getController() - Method in class eu.mihosoft.devcom.Device
- getData() - Method in class eu.mihosoft.devcom.Command
-
Returns the data to send.
- getDevice() - Method in interface eu.mihosoft.devcom.DeviceInfo
-
Returns the value of the 'device' property.
- getDevice() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- getDeviceClass() - Method in interface eu.mihosoft.devcom.DeviceInfo
-
Returns the value of the 'deviceClass' property.
- getDeviceClass() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- getExceptions() - Method in exception eu.mihosoft.devcom.PortScanner.EventException
-
Returns a list of causing exceptions.
- getFormat() - Method in class eu.mihosoft.devcom.COMPortConnection
- getFormat() - Method in interface eu.mihosoft.devcom.DataConnection
-
Returns the data format used by this connection.
- getFormat() - Method in class eu.mihosoft.devcom.StreamConnection
- getInstance() - Static method in enum class eu.mihosoft.devcom.PortScanner
-
Returns the instance of this scanner.
- getMCUType() - Method in interface eu.mihosoft.devcom.DeviceInfo
-
Returns the value of the 'mCUType' property.
- getMCUType() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- getName() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- getName() - Method in interface eu.mihosoft.devcom.PortConfig
-
Returns the value of the 'name' property.
- getNumberOfDataBits() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- getNumberOfDataBits() - Method in interface eu.mihosoft.devcom.PortConfig
-
Returns the value of the 'numberOfDataBits' property.
- getParityBits() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- getParityBits() - Method in interface eu.mihosoft.devcom.PortConfig
-
Returns the value of the 'parityBits' property.
- getPortConfig() - Method in class eu.mihosoft.devcom.COMPortConnection
-
Returns the config of the port this object is currently connected to.
- getPortNames() - Static method in class eu.mihosoft.devcom.COMPortConnection
-
Returns a list of all COM ports currently available.
- getReply() - Method in class eu.mihosoft.devcom.Command
-
Returns the future reply.
- getSerialNumber() - Method in interface eu.mihosoft.devcom.DeviceInfo
-
Returns the value of the 'serialNumber' property.
- getSerialNumber() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- getStopBits() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- getStopBits() - Method in interface eu.mihosoft.devcom.PortConfig
-
Returns the value of the 'stopBits' property.
- getValueByName(String, T) - Method in interface eu.mihosoft.devcom.DataFormat
-
Returns a value contained in the data by name, e.g., a packet entry.
- getWriteTimeout() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- getWriteTimeout() - Method in interface eu.mihosoft.devcom.PortConfig
-
Returns the value of the 'writeTimeout' property.
H
- hashCode() - Method in record class eu.mihosoft.devcom.PortScanner.PortEvent
-
Returns a hash code value for this object.
I
- init(DataConnection<T, V>) - Method in class eu.mihosoft.devcom.Controller
-
Initializes this controller.
- INSTANCE - Enum constant in enum class eu.mihosoft.devcom.PortScanner
-
The instance of this scanner.
- isCancellationRequested() - Method in class eu.mihosoft.devcom.Command
-
Indicates whether cancellation has been requested.
- isConnected() - Method in class eu.mihosoft.devcom.Device
-
Determines whether this device is connected.
- isConsumed() - Method in class eu.mihosoft.devcom.Command
-
Indicates whether this command has been consumed.
- isOpen() - Method in class eu.mihosoft.devcom.COMPortConnection
- isOpen() - Method in interface eu.mihosoft.devcom.DataConnection
-
Indicates whether this connection is currently open.
- isOpen() - Method in class eu.mihosoft.devcom.StreamConnection
- isReply(Command<T>, T) - Method in interface eu.mihosoft.devcom.DataFormat
-
Determines whether the specified data is a reply to the command.
- isReplyExpected() - Method in class eu.mihosoft.devcom.Command
-
Indicates whether a reply is expected by this command.
- isRS485ModeEnabled() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- isRS485ModeEnabled() - Method in interface eu.mihosoft.devcom.PortConfig
-
Returns the value of the 'rS485ModeEnabled' property.
- isRunning() - Method in enum class eu.mihosoft.devcom.PortScanner
-
Indicates whether this scanner is currently running.
L
- ListenerForDevcomModel - Interface in eu.mihosoft.devcom
M
- MARK_PARITY - Enum constant in enum class eu.mihosoft.devcom.ParityBits
N
- negate() - Method in class eu.mihosoft.devcom.AtomicFlag
-
Flip the wrapped AtomicBoolean.
- newBuilder() - Static method in class eu.mihosoft.devcom.Command
-
Returns a new Command builder.
- newBuilder() - Static method in class eu.mihosoft.devcom.Device
-
Returns a new device builder.
- newBuilder() - Static method in interface eu.mihosoft.devcom.DeviceInfo
-
Returns a new builder for creating a '
DeviceInfo' instance. - newBuilder() - Static method in interface eu.mihosoft.devcom.PortConfig
-
Returns a new builder for creating a '
PortConfig' instance. - NO_PARITY - Enum constant in enum class eu.mihosoft.devcom.ParityBits
O
- ODD_PARITY - Enum constant in enum class eu.mihosoft.devcom.ParityBits
- ONE_STOP_BIT - Enum constant in enum class eu.mihosoft.devcom.StopBits
- onEnter(VObject) - Method in interface eu.mihosoft.devcom.ListenerForDevcomModel
- onEnter(VObject) - Method in interface eu.mihosoft.devcom.ReadOnlyListenerForDevcomModel
- onEnterDeviceInfo(DeviceInfo) - Method in interface eu.mihosoft.devcom.ListenerForDevcomModel
- onEnterDeviceInfo(DeviceInfo) - Method in interface eu.mihosoft.devcom.ReadOnlyListenerForDevcomModel
- onEnterPortConfig(PortConfig) - Method in interface eu.mihosoft.devcom.ListenerForDevcomModel
- onEnterPortConfig(PortConfig) - Method in interface eu.mihosoft.devcom.ReadOnlyListenerForDevcomModel
- onExit(VObject) - Method in interface eu.mihosoft.devcom.ListenerForDevcomModel
- onExit(VObject) - Method in interface eu.mihosoft.devcom.ReadOnlyListenerForDevcomModel
- onExitDeviceInfo(DeviceInfo) - Method in interface eu.mihosoft.devcom.ListenerForDevcomModel
- onExitDeviceInfo(DeviceInfo) - Method in interface eu.mihosoft.devcom.ReadOnlyListenerForDevcomModel
- onExitPortConfig(PortConfig) - Method in interface eu.mihosoft.devcom.ListenerForDevcomModel
- onExitPortConfig(PortConfig) - Method in interface eu.mihosoft.devcom.ReadOnlyListenerForDevcomModel
- open() - Method in class eu.mihosoft.devcom.COMPortConnection
-
Opens the specified port and connects to it.
- open() - Method in interface eu.mihosoft.devcom.DataConnection
-
Opens the connection.
- open() - Method in class eu.mihosoft.devcom.StreamConnection
-
Opens the specified port and connects to it.
- open(PortConfig) - Method in class eu.mihosoft.devcom.COMPortConnection
-
Opens the specified port and connects to it.
- open(InputStream, OutputStream) - Method in class eu.mihosoft.devcom.StreamConnection
-
Opens the specified port and connects to it.
P
- ParityBits - Enum Class in eu.mihosoft.devcom
-
Parity bit configurations that are supported by the underlying COM port library.
- PortConfig - Interface in eu.mihosoft.devcom
-
A representation of the immutable model object
eu.mihosoft.devcom.PortConfig. - PortConfig.Builder - Interface in eu.mihosoft.devcom
- PortConfigImpl - Class in eu.mihosoft.devcom.impl
-
An implementation of the immutable model object
eu.mihosoft.devcom.PortConfig. - PortConfigImpl.BuilderImpl - Class in eu.mihosoft.devcom.impl
- PortEvent(long, List<String>, List<String>) - Constructor for record class eu.mihosoft.devcom.PortScanner.PortEvent
-
Creates an instance of a
PortEventrecord class. - PortScanner - Enum Class in eu.mihosoft.devcom
-
COM-Port scanner.
- PortScanner.EventException - Exception in eu.mihosoft.devcom
-
Event esception that contains a list of causing exceptions during port scanning.
- PortScanner.EventType - Enum Class in eu.mihosoft.devcom
-
Event type.
- PortScanner.PortEvent - Record Class in eu.mihosoft.devcom
-
Port event.
R
- readData(InputStream) - Method in interface eu.mihosoft.devcom.DataFormat
-
Reads data from the specified input stream.
- ReadOnlyListenerForDevcomModel - Interface in eu.mihosoft.devcom
- ReadOnlySwitchForDevcomModel<T> - Interface in eu.mihosoft.devcom
- registerConnectionClosedListener(Consumer<DataConnection<T, ?>>) - Method in class eu.mihosoft.devcom.COMPortConnection
- registerConnectionClosedListener(Consumer<DataConnection<T, ?>>) - Method in interface eu.mihosoft.devcom.DataConnection
-
Registers a listener that is notified whenever the connection is closed.
- registerConnectionClosedListener(Consumer<DataConnection<T, ?>>) - Method in class eu.mihosoft.devcom.StreamConnection
- registerConnectionOpenedListener(Consumer<DataConnection<T, ?>>) - Method in class eu.mihosoft.devcom.COMPortConnection
- registerConnectionOpenedListener(Consumer<DataConnection<T, ?>>) - Method in interface eu.mihosoft.devcom.DataConnection
-
Registers a listener that is notified whenever the connection is opened.
- registerConnectionOpenedListener(Consumer<DataConnection<T, ?>>) - Method in class eu.mihosoft.devcom.StreamConnection
- registerDataListener(Consumer<T>) - Method in class eu.mihosoft.devcom.COMPortConnection
- registerDataListener(Consumer<T>) - Method in interface eu.mihosoft.devcom.DataConnection
-
Registers a data listener that is notified whenever a message has been received.
- registerDataListener(Consumer<T>) - Method in class eu.mihosoft.devcom.StreamConnection
- registerIOErrorListener(BiConsumer<DataConnection<T, ?>, Exception>) - Method in class eu.mihosoft.devcom.COMPortConnection
- registerIOErrorListener(BiConsumer<DataConnection<T, ?>, Exception>) - Method in interface eu.mihosoft.devcom.DataConnection
-
Registers a listener that is notified whenever an I/O error occurees.
- registerIOErrorListener(BiConsumer<DataConnection<T, ?>, Exception>) - Method in class eu.mihosoft.devcom.StreamConnection
- registerOnConnectionStateChanged(BiConsumer<Device.State, Device.State>) - Method in class eu.mihosoft.devcom.Device
-
Registers a listener that is notified whenever the connection state changes.
- removed() - Method in record class eu.mihosoft.devcom.PortScanner.PortEvent
-
Returns the value of the
removedrecord component. - REMOVED - Enum constant in enum class eu.mihosoft.devcom.PortScanner.EventType
-
Indicated port have been removed.
- removePropertyChangeListener(PropertyChangeListener) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- removePropertyChangeListener(PropertyChangeListener) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- requestCancellation() - Method in class eu.mihosoft.devcom.Command
-
Requests command cancellation.
- reset() - Method in class eu.mihosoft.devcom.Command
-
Deprecated.
S
- sendCommand(Command<T>) - Method in class eu.mihosoft.devcom.Controller
-
Sends a command to the device and waits for a reply (blocking).
- sendCommand(T) - Method in class eu.mihosoft.devcom.Controller
-
Sends the specified data to the device (blocking).
- sendCommandAsync(Command<T>) - Method in class eu.mihosoft.devcom.Controller
-
Sends a command to the device and waits for a reply (blocking).
- sendCommandAsync(T) - Method in class eu.mihosoft.devcom.Controller
-
Sends the specified data to the device asynchronously.
- sendData(T) - Method in class eu.mihosoft.devcom.Controller
-
Sends the specified data to the device (no reply expected).
- sendDataAsync(T) - Method in class eu.mihosoft.devcom.Controller
-
Sends the specified data to the device (no reply expected).
- setCommandTimeout(long) - Method in class eu.mihosoft.devcom.Controller
-
Sets the command timeout (until the command is sent).
- setOnConnectionClosed(Consumer<DataConnection<T, ?>>) - Method in class eu.mihosoft.devcom.COMPortConnection
- setOnConnectionClosed(Consumer<DataConnection<T, ?>>) - Method in interface eu.mihosoft.devcom.DataConnection
- setOnConnectionClosed(Consumer<DataConnection<T, ?>>) - Method in class eu.mihosoft.devcom.StreamConnection
- setOnConnectionOpened(Consumer<StreamConnection<T>>) - Method in class eu.mihosoft.devcom.StreamConnection
-
Specifies the action to be performed if the connection has been opened.
- setOnDataReceived(Consumer<T>) - Method in class eu.mihosoft.devcom.COMPortConnection
- setOnDataReceived(Consumer<T>) - Method in interface eu.mihosoft.devcom.DataConnection
-
Sets the action to be executed if data has been received.
- setOnDataReceived(Consumer<T>) - Method in class eu.mihosoft.devcom.StreamConnection
- setOnInterrupted(Consumer<InterruptedException>) - Method in class eu.mihosoft.devcom.Controller
-
Specifies the consumer to call if the command queue thread is interrupted.
- setOnIOError(BiConsumer<COMPortConnection<T>, Exception>) - Method in class eu.mihosoft.devcom.COMPortConnection
- setOnIOError(BiConsumer<StreamConnection<T>, Exception>) - Method in class eu.mihosoft.devcom.StreamConnection
- setOnIOError(BiConsumer<V, Exception>) - Method in interface eu.mihosoft.devcom.DataConnection
-
Specifies the action to be performed if an I/O error occurs.
- setOnPortFailed(BiConsumer<COMPortConnection<T>, Exception>) - Method in class eu.mihosoft.devcom.COMPortConnection
-
Specifies the action to be performed if the port cannot be opened.
- setOnPortOpened(Consumer<COMPortConnection<T>>) - Method in class eu.mihosoft.devcom.COMPortConnection
-
Specifies the action to be performed if the port has been opened.
- setPortConfig(PortConfig) - Method in class eu.mihosoft.devcom.COMPortConnection
-
Sets the configuration to use for connecting to a port.
- setStreams(InputStream, OutputStream) - Method in class eu.mihosoft.devcom.StreamConnection
-
Sets the configuration to use for connecting to a port.
- SPACE_PARITY - Enum constant in enum class eu.mihosoft.devcom.ParityBits
- start() - Method in enum class eu.mihosoft.devcom.PortScanner
-
Starts this port scanner with the default period.
- start(long) - Method in enum class eu.mihosoft.devcom.PortScanner
-
Starts this port scanner with the specified period.
- stop() - Method in enum class eu.mihosoft.devcom.PortScanner
-
Stops this scanner.
- StopBits - Enum Class in eu.mihosoft.devcom
-
Stop bit configurations that are supported by the underlying COM port library.
- StreamConnection<T> - Class in eu.mihosoft.devcom
-
Stream connection for reading and writing data from/to io streams.
- StreamConnection(DataFormat<T>) - Constructor for class eu.mihosoft.devcom.StreamConnection
-
Creates a new connection instance.
- StreamConnection(DataFormat<T>, Consumer<StreamConnection<T>>, BiConsumer<StreamConnection<T>, Exception>) - Constructor for class eu.mihosoft.devcom.StreamConnection
-
Creates a new connection instance.
- SwitchForDevcomModel<T> - Interface in eu.mihosoft.devcom
T
- timestamp() - Method in record class eu.mihosoft.devcom.PortScanner.PortEvent
-
Returns the value of the
timestamprecord component. - toString() - Method in class eu.mihosoft.devcom.Command
- toString() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- toString() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- toString() - Method in record class eu.mihosoft.devcom.PortScanner.PortEvent
-
Returns a string representation of this record class.
- TWO_STOP_BITS - Enum constant in enum class eu.mihosoft.devcom.StopBits
- type() - Static method in interface eu.mihosoft.devcom.DeviceInfo
-
Returns the Type object of this model type.
- type() - Static method in interface eu.mihosoft.devcom.PortConfig
-
Returns the Type object of this model type.
U
- unsubscribe() - Method in interface eu.mihosoft.devcom.DataConnection.Subscription
-
Unsubscribes the listener.
V
- valueOf(String) - Static method in enum class eu.mihosoft.devcom.Device.State
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class eu.mihosoft.devcom.ParityBits
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class eu.mihosoft.devcom.PortScanner.EventType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class eu.mihosoft.devcom.PortScanner
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class eu.mihosoft.devcom.StopBits
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class eu.mihosoft.devcom.Device.State
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class eu.mihosoft.devcom.ParityBits
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class eu.mihosoft.devcom.PortScanner.EventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class eu.mihosoft.devcom.PortScanner
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class eu.mihosoft.devcom.StopBits
-
Returns an array containing the constants of this enum class, in the order they are declared.
- vmf() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- vmf() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
W
- withBaudRate(int) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl.BuilderImpl
- withBaudRate(int) - Method in interface eu.mihosoft.devcom.PortConfig.Builder
-
Sets the 'baudRate' property of this builder.
- withConnectionBehavior(BiConsumer<Device<T>, DataConnection<T, ?>>) - Method in class eu.mihosoft.devcom.Device.DeviceBuilder
-
Defines the connection behavior.
- withData(T) - Method in class eu.mihosoft.devcom.Command.Builder
- withDevice(String) - Method in interface eu.mihosoft.devcom.DeviceInfo.Builder
-
Sets the 'device' property of this builder.
- withDevice(String) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl.BuilderImpl
- withDeviceClass(String) - Method in interface eu.mihosoft.devcom.DeviceInfo.Builder
-
Sets the 'deviceClass' property of this builder.
- withDeviceClass(String) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl.BuilderImpl
- withMCUType(String) - Method in interface eu.mihosoft.devcom.DeviceInfo.Builder
-
Sets the 'mCUType' property of this builder.
- withMCUType(String) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl.BuilderImpl
- withName(String) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl.BuilderImpl
- withName(String) - Method in interface eu.mihosoft.devcom.PortConfig.Builder
-
Sets the 'name' property of this builder.
- withNumberOfDataBits(int) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl.BuilderImpl
- withNumberOfDataBits(int) - Method in interface eu.mihosoft.devcom.PortConfig.Builder
-
Sets the 'numberOfDataBits' property of this builder.
- withOnCancellationRequested(Consumer<String>) - Method in class eu.mihosoft.devcom.Command.Builder
- withOnError(BiConsumer<T, Exception>) - Method in class eu.mihosoft.devcom.Command.Builder
- withOnReceived(Consumer<T>) - Method in class eu.mihosoft.devcom.Command.Builder
- withOnSent(Consumer<T>) - Method in class eu.mihosoft.devcom.Command.Builder
- withParityBits(ParityBits) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl.BuilderImpl
- withParityBits(ParityBits) - Method in interface eu.mihosoft.devcom.PortConfig.Builder
-
Sets the 'parityBits' property of this builder.
- withReplyExpected(boolean) - Method in class eu.mihosoft.devcom.Command.Builder
- withRS485ModeEnabled(boolean) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl.BuilderImpl
- withRS485ModeEnabled(boolean) - Method in interface eu.mihosoft.devcom.PortConfig.Builder
-
Sets the 'rS485ModeEnabled' property of this builder.
- withSerialNumber(String) - Method in interface eu.mihosoft.devcom.DeviceInfo.Builder
-
Sets the 'serialNumber' property of this builder.
- withSerialNumber(String) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl.BuilderImpl
- withStopBits(StopBits) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl.BuilderImpl
- withStopBits(StopBits) - Method in interface eu.mihosoft.devcom.PortConfig.Builder
-
Sets the 'stopBits' property of this builder.
- withWriteTimeout(int) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl.BuilderImpl
- withWriteTimeout(int) - Method in interface eu.mihosoft.devcom.PortConfig.Builder
-
Sets the 'writeTimeout' property of this builder.
- writeData(T) - Method in class eu.mihosoft.devcom.COMPortConnection
- writeData(T) - Method in interface eu.mihosoft.devcom.DataConnection
-
Writes the specified raw message to the output stream.
- writeData(T) - Method in class eu.mihosoft.devcom.StreamConnection
- writeData(T, OutputStream) - Method in interface eu.mihosoft.devcom.DataFormat
-
Writes data to the specified input stream.
_
- __vmf_toString(StringBuilder, IdentityHashMap<Object, ?>) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- __vmf_toString(StringBuilder, IdentityHashMap<Object, ?>) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_deepCopy(IdentityHashMap<Object, Object>) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_deepCopy(IdentityHashMap<Object, Object>) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_equals(Object) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_equals(Object) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getAnnotations() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getAnnotations() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getChildrenIndices() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getChildrenIndices() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getDefaultValueById(int) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getDefaultValueById(int) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getIndicesOfPropertiesWithModelElementTypes() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getIndicesOfPropertiesWithModelElementTypes() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getIndicesOfPropertiesWithModelTypeOrElementTypes() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getIndicesOfPropertiesWithModelTypeOrElementTypes() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getIndicesOfPropertiesWithModelTypes() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getIndicesOfPropertiesWithModelTypes() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getParentIndices() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getParentIndices() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getPropertyAnnotationsById(int) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getPropertyAnnotationsById(int) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getPropertyIdByName(String) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getPropertyIdByName(String) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getPropertyNames() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getPropertyNames() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getPropertyTypeNames() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getPropertyTypeNames() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getPropertyTypes() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getPropertyTypes() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getPropertyValueById(int) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getPropertyValueById(int) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getSuperTypeNames() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getSuperTypeNames() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getType() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getType() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_getTypeId() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_getTypeId() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_hashCode() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_hashCode() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_isSetById(int) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_isSetById(int) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_referencedBy() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_referencedBy() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_references() - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_references() - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_setDefaultValueById(int, Object) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_setDefaultValueById(int, Object) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_setThreadLocalEquals(ThreadLocal<Map<VObjectInternal.EqualsPair, ?>>) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_setThreadLocalEquals(ThreadLocal<Map<VObjectInternal.EqualsPair, ?>>) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _vmf_shallowCopy(IdentityHashMap<Object, Object>) - Method in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _vmf_shallowCopy(IdentityHashMap<Object, Object>) - Method in class eu.mihosoft.devcom.impl.PortConfigImpl
- _VMF_TYPE_ID - Static variable in class eu.mihosoft.devcom.impl.DeviceInfoImpl
- _VMF_TYPE_ID - Static variable in class eu.mihosoft.devcom.impl.PortConfigImpl
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form