jamod at SF
A B C D E F G H I L M N O P R S T U W

A

AIAOTest - class net.wimpi.modbus.cmd.AIAOTest.
Class that implements a simple commandline tool which demonstrates how a analog input can be bound with a analog output.
AIAOTest() - Constructor for class net.wimpi.modbus.cmd.AIAOTest
 
AITest - class net.wimpi.modbus.cmd.AITest.
Class that implements a simple commandline tool for reading an analog input.
AITest() - Constructor for class net.wimpi.modbus.cmd.AITest
 
AOTest - class net.wimpi.modbus.cmd.AOTest.
Class that implements a simple commandline tool for writing to an analog output.
AOTest() - Constructor for class net.wimpi.modbus.cmd.AOTest
 
ASCIIInputStream - class net.wimpi.modbus.io.ASCIIInputStream.
Class implementing a specialized InputStream which decodes characters read from the raw stream into bytes.
ASCIIInputStream(InputStream) - Constructor for class net.wimpi.modbus.io.ASCIIInputStream
Constructs a new ASCIIInputStream instance reading from the given InputStream.
ASCIIOutputStream - class net.wimpi.modbus.io.ASCIIOutputStream.
Class implementing a specialized OutputStream which encodes bytes written to the stream into two hexadecimal characters each.
ASCIIOutputStream(OutputStream) - Constructor for class net.wimpi.modbus.io.ASCIIOutputStream
Constructs a new ASCIIOutputStream instance writing to the given OutputStream.
AbstractRegister - class net.wimpi.modbus.procimg.AbstractRegister.
Abstract class for a register.
AbstractRegister() - Constructor for class net.wimpi.modbus.procimg.AbstractRegister
 
activate() - Method in interface net.wimpi.modbus.net.UDPTerminal
Activate this UDPTerminal.
addDigitalIn(DigitalIn) - Method in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Adds a new DigitalIn instance.
addDigitalIn(DigitalIn) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
addDigitalOut(DigitalOut) - Method in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Adds a new DigitalOut instance.
addDigitalOut(DigitalOut) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
addInputRegister(InputRegister) - Method in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Adds a new InputRegister instance.
addInputRegister(InputRegister) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
addObserver(Observer) - Method in class net.wimpi.modbus.util.Observable
Adds an observer instance if it is not already in the set of observers for this Observable.
addRegister(Register) - Method in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Adds a new Register instance.
addRegister(Register) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
addSize(int) - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
Skip the given number of bytes in the buffer.
available() - Method in class net.wimpi.modbus.io.FastByteArrayInputStream
 

B

BINInputStream - class net.wimpi.modbus.io.BINInputStream.
Class implementing a specialized InputStream which handles binary transmitted messages.
BINInputStream(InputStream) - Constructor for class net.wimpi.modbus.io.BINInputStream
Constructs a new BINInputStream instance reading from the given InputStream.
BINOutputStream - class net.wimpi.modbus.io.BINOutputStream.
Class implementing a specialized OutputStream which duplicates bytes written to the stream that resemble a frame token.
BINOutputStream(OutputStream) - Constructor for class net.wimpi.modbus.io.BINOutputStream
Constructs a new BINOutputStream instance writing to the given OutputStream.
BitVector - class net.wimpi.modbus.util.BitVector.
Class that implements a collection for bits, storing them packed into bytes.
BitVector(int) - Constructor for class net.wimpi.modbus.util.BitVector
Constructs a new BitVector instance with a given size.
BytesInputStream - class net.wimpi.modbus.io.BytesInputStream.
Class implementing a byte array input stream with a DataInput interface.
BytesInputStream(int) - Constructor for class net.wimpi.modbus.io.BytesInputStream
Constructs a new BytesInputStream instance, with an empty buffer of a given size.
BytesInputStream(byte[]) - Constructor for class net.wimpi.modbus.io.BytesInputStream
Constructs a new BytesInputStream instance, that will read from the given data.
BytesOutputStream - class net.wimpi.modbus.io.BytesOutputStream.
Class implementing a byte array output stream with a DataInput interface.
BytesOutputStream(int) - Constructor for class net.wimpi.modbus.io.BytesOutputStream
Constructs a new BytesOutputStream instance with a new output buffer of the given size.
BytesOutputStream(byte[]) - Constructor for class net.wimpi.modbus.io.BytesOutputStream
Constructs a new BytesOutputStream instance with a given output buffer.
buf - Variable in class net.wimpi.modbus.io.FastByteArrayInputStream
Input buffer byte[].
buf - Variable in class net.wimpi.modbus.io.FastByteArrayOutputStream
Output buffer byte[].
bumpLen - Variable in class net.wimpi.modbus.io.FastByteArrayOutputStream
Increment of the output buffer size on overflow.
byteSize() - Method in class net.wimpi.modbus.util.BitVector
Returns the number of bytes used to store the collection of bits as int.

C

COIL_OFF - Static variable in interface net.wimpi.modbus.Modbus
Defines the byte representation of the coil state pos.
COIL_OFF_BYTES - Static variable in interface net.wimpi.modbus.Modbus
Defines the word representation of the coil state pos.
COIL_ON - Static variable in interface net.wimpi.modbus.Modbus
Defines the byte representation of the coil state on.
COIL_ON_BYTES - Static variable in interface net.wimpi.modbus.Modbus
Defines the word representation of the coil state on.
calculateCRC(byte[], int, int) - Static method in class net.wimpi.modbus.util.ModbusUtil
 
clearInput() - Method in class net.wimpi.modbus.io.ModbusRTUTransport
Clear the input if characters are found in the input stream.
close() - Method in class net.wimpi.modbus.io.ModbusASCIITransport
 
close() - Method in class net.wimpi.modbus.io.ModbusBINTransport
 
close() - Method in class net.wimpi.modbus.io.ModbusRTUTransport
 
close() - Method in class net.wimpi.modbus.io.ModbusSerialTransport
The close method closes the serial input/output streams.
close() - Method in class net.wimpi.modbus.io.ModbusTCPTransport
 
close() - Method in interface net.wimpi.modbus.io.ModbusTransport
Closes the raw input and output streams of this ModbusTransport.
close() - Method in class net.wimpi.modbus.io.ModbusUDPTransport
 
close() - Method in class net.wimpi.modbus.net.SerialConnection
Close the port and clean up associated elements.
close() - Method in class net.wimpi.modbus.net.TCPMasterConnection
Closes this TCPMasterConnection.
close() - Method in class net.wimpi.modbus.net.TCPSlaveConnection
Closes this TCPSlaveConnection.
close() - Method in class net.wimpi.modbus.net.UDPMasterConnection
Closes this UDPMasterConnection.
commitUpdate() - Method in interface net.wimpi.modbus.io.NonWordDataHandler
Commits the data if it has been read into an intermediate repository.
connect() - Method in class net.wimpi.modbus.facade.ModbusSerialMaster
Connects this ModbusSerialMaster with the slave.
connect() - Method in class net.wimpi.modbus.facade.ModbusTCPMaster
Connects this ModbusTCPMaster with the slave.
connect() - Method in class net.wimpi.modbus.facade.ModbusUDPMaster
Connects this ModbusUDPMaster with the slave.
connect() - Method in class net.wimpi.modbus.net.TCPMasterConnection
Opens this TCPMasterConnection.
connect() - Method in class net.wimpi.modbus.net.UDPMasterConnection
Opens this UDPMasterConnection.
count - Variable in class net.wimpi.modbus.io.FastByteArrayInputStream
Number of bytes in the input buffer.
count - Variable in class net.wimpi.modbus.io.FastByteArrayOutputStream
Number of bytes in the output buffer.
createBitVector(byte[], int) - Static method in class net.wimpi.modbus.util.BitVector
Factory method for creating a BitVector instance wrapping the given byte data.
createBitVector(byte[]) - Static method in class net.wimpi.modbus.util.BitVector
Factory method for creating a BitVector instance wrapping the given byte data.
createDigitalIn() - Method in class net.wimpi.modbus.procimg.DefaultProcessImageFactory
Returns a new SimpleDigitalIn instance.
createDigitalIn(boolean) - Method in class net.wimpi.modbus.procimg.DefaultProcessImageFactory
Returns a new DigitalIn instance with the given state.
createDigitalIn() - Method in interface net.wimpi.modbus.procimg.ProcessImageFactory
Returns a new DigitalIn instance.
createDigitalIn(boolean) - Method in interface net.wimpi.modbus.procimg.ProcessImageFactory
Returns a new DigitalIn instance with the given state.
createDigitalOut() - Method in class net.wimpi.modbus.procimg.DefaultProcessImageFactory
Returns a new SimpleDigitalOut instance.
createDigitalOut(boolean) - Method in class net.wimpi.modbus.procimg.DefaultProcessImageFactory
Returns a new DigitalOut instance with the given state.
createDigitalOut() - Method in interface net.wimpi.modbus.procimg.ProcessImageFactory
Returns a new DigitalOut instance.
createDigitalOut(boolean) - Method in interface net.wimpi.modbus.procimg.ProcessImageFactory
Returns a new DigitalOut instance with the given state.
createExceptionResponse(int) - Method in class net.wimpi.modbus.msg.ModbusRequest
Factory method for creating exception responses with the given exception code.
createInputRegister() - Method in class net.wimpi.modbus.procimg.DefaultProcessImageFactory
Returns a new SimpleInputRegister instance.
createInputRegister(byte, byte) - Method in class net.wimpi.modbus.procimg.DefaultProcessImageFactory
Returns a new InputRegister instance with a given value.
createInputRegister() - Method in interface net.wimpi.modbus.procimg.ProcessImageFactory
Returns a new InputRegister instance.
createInputRegister(byte, byte) - Method in interface net.wimpi.modbus.procimg.ProcessImageFactory
Returns a new InputRegister instance with a given value.
createModbusRequest(int) - Static method in class net.wimpi.modbus.msg.ModbusRequest
Factory method creating the required specialized ModbusRequest instance.
createModbusResponse(int) - Static method in class net.wimpi.modbus.msg.ModbusResponse
Factory method creating the required specialized ModbusResponse instance.
createProcessImageImplementation() - Method in class net.wimpi.modbus.procimg.DefaultProcessImageFactory
Returns a new SimpleProcessImage instance.
createProcessImageImplementation() - Method in interface net.wimpi.modbus.procimg.ProcessImageFactory
Returns a new ProcessImageImplementation instance.
createRegister() - Method in class net.wimpi.modbus.procimg.DefaultProcessImageFactory
Creates a new SimpleRegister instance.
createRegister(byte, byte) - Method in class net.wimpi.modbus.procimg.DefaultProcessImageFactory
Returns a new Register instance with a given value.
createRegister() - Method in interface net.wimpi.modbus.procimg.ProcessImageFactory
Creates a new Register instance.
createRegister(byte, byte) - Method in interface net.wimpi.modbus.procimg.ProcessImageFactory
Returns a new Register instance with a given value.
createResponse() - Method in class net.wimpi.modbus.msg.IllegalFunctionRequest
 
createResponse() - Method in class net.wimpi.modbus.msg.ModbusRequest
Returns the ModbusResponse that represents the answer to this ModbusRequest.
createResponse() - Method in class net.wimpi.modbus.msg.ReadCoilsRequest
 
createResponse() - Method in class net.wimpi.modbus.msg.ReadInputDiscretesRequest
 
createResponse() - Method in class net.wimpi.modbus.msg.ReadInputRegistersRequest
 
createResponse() - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersRequest
 
createResponse() - Method in class net.wimpi.modbus.msg.WriteCoilRequest
 
createResponse() - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
 
createResponse() - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
 
createResponse() - Method in class net.wimpi.modbus.msg.WriteSingleRegisterRequest
 

D

DEFAULT_BUMP_SIZE - Static variable in class net.wimpi.modbus.io.FastByteArrayOutputStream
Defines the default increment of the output buffer size (100 bytes).
DEFAULT_INIT_SIZE - Static variable in class net.wimpi.modbus.io.FastByteArrayOutputStream
Defines the default oputput buffer size (100 bytes).
DEFAULT_PORT - Static variable in interface net.wimpi.modbus.Modbus
Defines the default port number of Modbus (=502).
DEFAULT_PROTOCOL_ID - Static variable in interface net.wimpi.modbus.Modbus
Defines the default protocol identifier (=0).
DEFAULT_RECONNECTING - Static variable in interface net.wimpi.modbus.Modbus
Defines the default reconnecting setting for transactions (=false).
DEFAULT_RETRIES - Static variable in interface net.wimpi.modbus.Modbus
Defines the default amount of retires for opening a connection (=3).
DEFAULT_SERIAL_ENCODING - Static variable in interface net.wimpi.modbus.Modbus
Defines the default serial encoding (ASCII).
DEFAULT_TIMEOUT - Static variable in interface net.wimpi.modbus.Modbus
Defines the default setting for I/O operation timeouts in milliseconds (=3000).
DEFAULT_TRANSACTION_ID - Static variable in interface net.wimpi.modbus.Modbus
Defines the default transaction identifier (=0).
DEFAULT_TRANSMIT_DELAY - Static variable in interface net.wimpi.modbus.Modbus
Defines the default number of msec to delay before transmission (=50).
DEFAULT_UNIT_ID - Static variable in interface net.wimpi.modbus.Modbus
Defines the default unit identifier (=0).
DEFAULT_VALIDITYCHECK - Static variable in interface net.wimpi.modbus.Modbus
Defines the default setting for validity checking in transactions (=true).
DIDOTest - class net.wimpi.modbus.cmd.DIDOTest.
Class that implements a simple commandline tool which demonstrates how a digital input can be bound with a digital output.
DIDOTest() - Constructor for class net.wimpi.modbus.cmd.DIDOTest
 
DIG_FALSE - Static variable in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Defines the unset state (i.e.
DIG_INVALID - Static variable in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Defines the invalid state of a digital input or output.
DIG_TRUE - Static variable in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Defines the set state (i.e.
DITest - class net.wimpi.modbus.cmd.DITest.
Class that implements a simple commandline tool for reading a digital input.
DITest() - Constructor for class net.wimpi.modbus.cmd.DITest
 
DOTest - class net.wimpi.modbus.cmd.DOTest.
Class that implements a simple commandline tool for writing to a digital output.
DOTest() - Constructor for class net.wimpi.modbus.cmd.DOTest
 
DefaultProcessImageFactory - class net.wimpi.modbus.procimg.DefaultProcessImageFactory.
The default ProcessImageFactory.
DefaultProcessImageFactory() - Constructor for class net.wimpi.modbus.procimg.DefaultProcessImageFactory
 
DigitalIn - interface net.wimpi.modbus.procimg.DigitalIn.
Interface defining a digital input.
DigitalOut - interface net.wimpi.modbus.procimg.DigitalOut.
Interface defining a digital output.
deactivate() - Method in interface net.wimpi.modbus.net.UDPTerminal
Deactivates this UDPTerminal.
debug - Static variable in interface net.wimpi.modbus.Modbus
JVM flag for debug mode.
disconnect() - Method in class net.wimpi.modbus.facade.ModbusSerialMaster
Disconnects this ModbusSerialMaster from the slave.
disconnect() - Method in class net.wimpi.modbus.facade.ModbusTCPMaster
Disconnects this ModbusTCPMaster from the slave.
disconnect() - Method in class net.wimpi.modbus.facade.ModbusUDPMaster
Disconnects this ModbusTCPMaster from the slave.
doubleToRegisters(double) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts a double value to a byte[8].

E

EXCEPTION_OFFSET - Static variable in interface net.wimpi.modbus.Modbus
Defines the Modbus slave exception offset that is added to the function code, to flag an exception.
ExceptionResponse - class net.wimpi.modbus.msg.ExceptionResponse.
Class implementing aModbusResponse that represents an exception.
ExceptionResponse() - Constructor for class net.wimpi.modbus.msg.ExceptionResponse
Constructs a new ExceptionResponse instance.
ExceptionResponse(int) - Constructor for class net.wimpi.modbus.msg.ExceptionResponse
Constructs a new ExceptionResponse instance with a given function code.
ExceptionResponse(int, int) - Constructor for class net.wimpi.modbus.msg.ExceptionResponse
Constructs a new ExceptionResponse instance with a given function code and an exception code.
execute() - Method in class net.wimpi.modbus.io.ModbusSerialTransaction
 
execute() - Method in class net.wimpi.modbus.io.ModbusTCPTransaction
 
execute() - Method in interface net.wimpi.modbus.io.ModbusTransaction
Executes this ModbusTransaction.
execute() - Method in class net.wimpi.modbus.io.ModbusUDPTransaction
 
execute(Runnable) - Method in class net.wimpi.modbus.util.ThreadPool
Execute the Runnable instance through a thread in this ThreadPool.
extract() - Method in class net.wimpi.modbus.util.LinkedQueue
Main mechanics for take/poll

F

FRAME_END - Static variable in class net.wimpi.modbus.io.ModbusASCIITransport
Defines a virtual number for the FRAME_END token (CR LF).
FRAME_END - Static variable in class net.wimpi.modbus.io.ModbusBINTransport
Defines a virtual number for the FRAME_END token (CR LF).
FRAME_END_TOKEN - Static variable in class net.wimpi.modbus.io.ModbusBINTransport
Defines the frame end token }.
FRAME_START - Static variable in class net.wimpi.modbus.io.ModbusASCIITransport
Defines a virtual number for the FRAME START token (COLON).
FRAME_START - Static variable in class net.wimpi.modbus.io.ModbusBINTransport
Defines a virtual number for the FRAME START token (COLON).
FRAME_START_TOKEN - Static variable in class net.wimpi.modbus.io.ModbusBINTransport
Defines the frame start token {.
FastByteArrayInputStream - class net.wimpi.modbus.io.FastByteArrayInputStream.
This class is a replacement for ByteArrayInputStream that does not synchronize every byte read.
FastByteArrayInputStream(byte[]) - Constructor for class net.wimpi.modbus.io.FastByteArrayInputStream
Creates an input stream.
FastByteArrayInputStream(byte[], int, int) - Constructor for class net.wimpi.modbus.io.FastByteArrayInputStream
Creates an input stream.
FastByteArrayOutputStream - class net.wimpi.modbus.io.FastByteArrayOutputStream.
This class is a replacement implementation for ByteArrayOutputStream that does not synchronize every byte written.
FastByteArrayOutputStream() - Constructor for class net.wimpi.modbus.io.FastByteArrayOutputStream
Creates an output stream with default sizes.
FastByteArrayOutputStream(int) - Constructor for class net.wimpi.modbus.io.FastByteArrayOutputStream
Creates an output stream with a default bump size and a given initial size.
FastByteArrayOutputStream(int, int) - Constructor for class net.wimpi.modbus.io.FastByteArrayOutputStream
Creates an output stream with a given bump size and initial size.
FastByteArrayOutputStream(byte[]) - Constructor for class net.wimpi.modbus.io.FastByteArrayOutputStream
Creates an output stream with a given initial buffer and a default bump size.
FastByteArrayOutputStream(byte[], int) - Constructor for class net.wimpi.modbus.io.FastByteArrayOutputStream
Creates an output stream with a given initial buffer and a given bump size.
floatToRegisters(float) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts a float value to a byte[4] binary float value.
forceSize(int) - Method in class net.wimpi.modbus.util.BitVector
Forces the number of bits in this BitVector.

G

getAddress() - Method in class net.wimpi.modbus.net.TCPMasterConnection
Returns the destination InetAddress of this TCPMasterConnection.
getAddress() - Method in class net.wimpi.modbus.net.TCPSlaveConnection
Returns the destination InetAddress of this TCPMasterConnection.
getAddress() - Method in class net.wimpi.modbus.net.UDPMasterConnection
Returns the destination InetAddress of this UDPMasterConnection.
getBaudRate() - Method in class net.wimpi.modbus.util.SerialParameters
Return the baud rate as int.
getBaudRateString() - Method in class net.wimpi.modbus.util.SerialParameters
Returns the baud rate as a String.
getBit(int) - Method in class net.wimpi.modbus.util.BitVector
Returns the state of the bit at the given index of this BitVector.
getBitCount() - Method in class net.wimpi.modbus.msg.ReadCoilsRequest
Returns the number of bits (i.e. coils) to be read with this ReadCoilsRequest.
getBitCount() - Method in class net.wimpi.modbus.msg.ReadCoilsResponse
Returns the number of bits (i.e. coils) read with the request.
getBitCount() - Method in class net.wimpi.modbus.msg.ReadInputDiscretesRequest
Returns the number of bits (i.e. input discretes) to be read with this ReadInputDiscretesRequest.
getBitCount() - Method in class net.wimpi.modbus.msg.ReadInputDiscretesResponse
Returns the number of bits (i.e. input discretes) read with the request.
getBitCount() - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
Returns the number of bits (i.e. input discretes) read with the request.
getBitCount() - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsResponse
Returns the number of bits (i.e. coils) read with the request.
getBuffer() - Method in class net.wimpi.modbus.io.BytesInputStream
Returns the reference to the input buffer.
getBuffer() - Method in class net.wimpi.modbus.io.BytesOutputStream
Returns the reference to the output buffer.
getBufferBytes() - Method in class net.wimpi.modbus.io.FastByteArrayInputStream
Returns the underlying data being read.
getBufferBytes() - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
Returns the buffer owned by this object.
getBufferLength() - Method in class net.wimpi.modbus.io.BytesInputStream
 
getBufferLength() - Method in class net.wimpi.modbus.io.FastByteArrayInputStream
Returns the end of the buffer being read.
getBufferLength() - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
Returns the length used in the internal buffer, that is, the offset at which data will be written next.
getBufferOffset() - Method in class net.wimpi.modbus.io.FastByteArrayInputStream
Returns the offset at which data is being read from the buffer.
getBufferOffset() - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
Returns the offset of the internal buffer.
getByteCount() - Method in class net.wimpi.modbus.msg.ReadInputRegistersResponse
Returns the number of bytes that have been read.
getByteCount() - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersResponse
Returns the number of bytes that have been read.
getByteCount() - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
Returns the number of bytes required for packing the coil bits.
getByteCount() - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
Returns the number of bytes representing the values to be written.
getByteCount() - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersResponse
Returns the number of bytes that have been written.
getBytes() - Method in class net.wimpi.modbus.util.BitVector
Returns the byte[] which is used to store the bits of this BitVector.
getCoil() - Method in class net.wimpi.modbus.msg.WriteCoilRequest
Returns the state that should be written with this WriteCoilRequest.
getCoil() - Method in class net.wimpi.modbus.msg.WriteCoilResponse
Gets the state that has been returned in this WriteCoilRequest.
getCoilStatus(int) - Method in class net.wimpi.modbus.msg.ReadCoilsResponse
Convenience method that returns the state of the bit at the given index.
getCoilStatus(int) - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
Returns the status of the given coil.
getCoils() - Method in class net.wimpi.modbus.msg.ReadCoilsResponse
Returns the BitVector that stores the collection of bits that have been read.
getCoils() - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
Returns the BitVector instance holding coil status information.
getData() - Method in interface net.wimpi.modbus.io.NonWordDataHandler
Returns the intermediate raw non-word data.
getDataLength() - Method in interface net.wimpi.modbus.msg.ModbusMessage
Returns the length of the data appended after the protocol header.
getDataLength() - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
 
getDatabits() - Method in class net.wimpi.modbus.util.SerialParameters
Returns the number of data bits as int.
getDatabitsString() - Method in class net.wimpi.modbus.util.SerialParameters
Returns the number of data bits as String.
getDigitalIn(int) - Method in interface net.wimpi.modbus.procimg.ProcessImage
Returns the DigitalIn instance at the given reference.
getDigitalIn(int) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
getDigitalInCount() - Method in interface net.wimpi.modbus.procimg.ProcessImage
Returns the number of DigitalIn instances in this ProcessImage.
getDigitalInCount() - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
getDigitalInRange(int, int) - Method in interface net.wimpi.modbus.procimg.ProcessImage
Returns a range of DigitalIn instances.
getDigitalInRange(int, int) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
getDigitalOut(int) - Method in interface net.wimpi.modbus.procimg.ProcessImage
Returns the DigitalOut instance at the given reference.
getDigitalOut(int) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
getDigitalOutCount() - Method in interface net.wimpi.modbus.procimg.ProcessImage
Returns the number of DigitalOut instances in this ProcessImage.
getDigitalOutCount() - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
getDigitalOutRange(int, int) - Method in interface net.wimpi.modbus.procimg.ProcessImage
Returns a range of DigitalOut instances.
getDigitalOutRange(int, int) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
getDiscreteStatus(int) - Method in class net.wimpi.modbus.msg.ReadInputDiscretesResponse
Convenience method that returns the state of the bit at the given index.
getDiscretes() - Method in class net.wimpi.modbus.msg.ReadInputDiscretesResponse
Returns the BitVector that stores the collection of bits that have been read.
getEncoding() - Method in class net.wimpi.modbus.util.SerialParameters
Returns the encoding to be used.
getExceptionCode() - Method in class net.wimpi.modbus.msg.ExceptionResponse
Returns the Modbus exception code of this ExceptionResponse.
getFlowControlIn() - Method in class net.wimpi.modbus.util.SerialParameters
Returns the input flow control type as int.
getFlowControlInString() - Method in class net.wimpi.modbus.util.SerialParameters
Returns the input flow control type as String.
getFlowControlOut() - Method in class net.wimpi.modbus.util.SerialParameters
Returns the output flow control type as int.
getFlowControlOutString() - Method in class net.wimpi.modbus.util.SerialParameters
Returns the output flow control type as String.
getFunctionCode() - Method in interface net.wimpi.modbus.msg.ModbusMessage
Returns the function code of this ModbusMessage as int.
getFunctionCode() - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
 
getHexMessage() - Method in interface net.wimpi.modbus.msg.ModbusMessage
Returns the raw message as String containing a hexadecimal series of bytes.
getHexMessage() - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
Returns the this message as hexadecimal string.
getInputRegister(int) - Method in interface net.wimpi.modbus.procimg.ProcessImage
Returns the InputRegister instance at the given reference.
getInputRegister(int) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
getInputRegisterCount() - Method in interface net.wimpi.modbus.procimg.ProcessImage
Returns the number of InputRegister instances in this ProcessImage.
getInputRegisterCount() - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
getInputRegisterRange(int, int) - Method in interface net.wimpi.modbus.procimg.ProcessImage
Returns a range of InputRegister instances.
getInputRegisterRange(int, int) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
getLocalAddress() - Method in interface net.wimpi.modbus.net.UDPTerminal
Returns the local address of this UDPTerminal.
getLocalPort() - Method in interface net.wimpi.modbus.net.UDPTerminal
Returns the local port of this UDPTerminal.
getMessage() - Method in class net.wimpi.modbus.ModbusSlaveException
 
getModbusTransport() - Method in class net.wimpi.modbus.net.SerialConnection
Returns the ModbusTransport instance to be used for receiving and sending messages.
getModbusTransport() - Method in class net.wimpi.modbus.net.TCPMasterConnection
Returns the ModbusTransport associated with this TCPMasterConnection.
getModbusTransport() - Method in class net.wimpi.modbus.net.TCPSlaveConnection
Returns the ModbusTransport associated with this TCPMasterConnection.
getModbusTransport() - Method in class net.wimpi.modbus.net.UDPMasterConnection
Returns the ModbusTransport associated with this UDPMasterConnection.
getModbusTransport() - Method in interface net.wimpi.modbus.net.UDPTerminal
Returns the ModbusTransport associated with this UDPTerminal.
getNonWordDataHandler() - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
Returns the actual non word data handler.
getObserverCount() - Method in class net.wimpi.modbus.util.Observable
 
getOutputLength() - Method in interface net.wimpi.modbus.io.Transportable
Returns the number of bytes that will be written by Transportable.writeTo(DataOutput).
getOutputLength() - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
 
getParity() - Method in class net.wimpi.modbus.util.SerialParameters
Returns the parity schema as int.
getParityString() - Method in class net.wimpi.modbus.util.SerialParameters
Returns the parity schema as String.
getPort() - Method in class net.wimpi.modbus.net.ModbusUDPListener
Returns the number of the port this ModbusUDPListener is listening to.
getPort() - Method in class net.wimpi.modbus.net.TCPMasterConnection
Returns the destination port of this TCPMasterConnection.
getPort() - Method in class net.wimpi.modbus.net.TCPSlaveConnection
Returns the destination port of this TCPMasterConnection.
getPort() - Method in class net.wimpi.modbus.net.UDPMasterConnection
Returns the destination port of this UDPMasterConnection.
getPortName() - Method in class net.wimpi.modbus.util.SerialParameters
Returns the port name.
getProcessImage() - Method in class net.wimpi.modbus.ModbusCoupler
Returns a reference to the ProcessImage of this ModbusCoupler.
getProcessImageFactory() - Method in class net.wimpi.modbus.ModbusCoupler
Returns the actual ProcessImageFactory instance.
getProtocolID() - Method in interface net.wimpi.modbus.msg.ModbusMessage
Returns the protocol identifier of this ModbusMessage as int.
getProtocolID() - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
 
getReference() - Static method in class net.wimpi.modbus.ModbusCoupler
Returns a reference to the singleton instance.
getReference() - Method in class net.wimpi.modbus.msg.ReadCoilsRequest
Returns the reference of the register to to start reading from with this ReadCoilsRequest.
getReference() - Method in class net.wimpi.modbus.msg.ReadInputDiscretesRequest
Returns the reference of the register to to start reading from with this ReadInputDiscretesRequest.
getReference() - Method in class net.wimpi.modbus.msg.ReadInputRegistersRequest
Returns the reference of the register to to start reading from with this ReadInputRegistersRequest.
getReference() - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersRequest
Returns the reference of the register to to start reading from with this ReadMultipleRegistersRequest.
getReference() - Method in class net.wimpi.modbus.msg.WriteCoilRequest
Returns the reference of the register of the coil that should be written to with this ReadCoilsRequest.
getReference() - Method in class net.wimpi.modbus.msg.WriteCoilResponse
Returns the reference of the register of the coil that has been written to with the request.
getReference() - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
Returns the reference of the register to to start reading from with this ReadCoilsRequest.
getReference() - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsResponse
Returns the reference of the register to to start reading from with this ReadCoilsRequest.
getReference() - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
Returns the reference of the register to start writing to with this WriteMultipleRegistersRequest.
getReference() - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersResponse
Returns the reference of the register to start writing to with this WriteMultipleRegistersResponse.
getReference() - Method in class net.wimpi.modbus.msg.WriteSingleRegisterRequest
Returns the reference of the register to be written to with this WriteSingleRegisterRequest.
getReference() - Method in class net.wimpi.modbus.msg.WriteSingleRegisterResponse
Returns the reference of the register that has been written to.
getRegister(int) - Method in class net.wimpi.modbus.msg.ReadInputRegistersResponse
Returns the InputRegister at the given position (relative to the reference used in the request).
getRegister(int) - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersResponse
Returns the Register at the given position (relative to the reference used in the request).
getRegister(int) - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
Returns the Register at the given position (relative to the reference used in the request).
getRegister() - Method in class net.wimpi.modbus.msg.WriteSingleRegisterRequest
Returns the value that should be written to the register with this WriteSingleRegisterRequest.
getRegister(int) - Method in interface net.wimpi.modbus.procimg.ProcessImage
Returns the Register instance at the given reference.
getRegister(int) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
getRegisterCount() - Method in interface net.wimpi.modbus.procimg.ProcessImage
Returns the number of Register instances in this ProcessImage.
getRegisterCount() - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
getRegisterRange(int, int) - Method in interface net.wimpi.modbus.procimg.ProcessImage
Returns a range of Register instances.
getRegisterRange(int, int) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
getRegisterValue(int) - Method in class net.wimpi.modbus.msg.ReadInputRegistersResponse
Returns the value of the register at the given position (relative to the reference used in the request) interpreted as usigned short.
getRegisterValue(int) - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersResponse
Returns the value of the register at the given position (relative to the reference used in the request) interpreted as unsigned short.
getRegisterValue(int) - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
Returns the value of the register at the given position (relative to the reference used in the request) interpreted as unsigned short.
getRegisterValue() - Method in class net.wimpi.modbus.msg.WriteSingleRegisterResponse
Returns the value that has been returned in this WriteSingleRegisterResponse.
getRegisters() - Method in class net.wimpi.modbus.msg.ReadInputRegistersResponse
Returns a reference to the array of input registers read.
getRegisters() - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersResponse
Returns a reference to the array of registers read.
getRegisters() - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
Returns the registers to be written with this WriteMultipleRegistersRequest.
getRequest() - Method in class net.wimpi.modbus.io.ModbusSerialTransaction
 
getRequest() - Method in class net.wimpi.modbus.io.ModbusTCPTransaction
 
getRequest() - Method in interface net.wimpi.modbus.io.ModbusTransaction
Returns the ModbusRequest instance associated with this ModbusTransaction.
getRequest() - Method in class net.wimpi.modbus.io.ModbusUDPTransaction
 
getResponse() - Method in class net.wimpi.modbus.io.ModbusSerialTransaction
 
getResponse() - Method in class net.wimpi.modbus.io.ModbusTCPTransaction
 
getResponse() - Method in interface net.wimpi.modbus.io.ModbusTransaction
Returns the ModbusResponse instance associated with this ModbusTransaction.
getResponse() - Method in class net.wimpi.modbus.io.ModbusUDPTransaction
 
getRetries() - Method in class net.wimpi.modbus.io.ModbusSerialTransaction
 
getRetries() - Method in class net.wimpi.modbus.io.ModbusTCPTransaction
 
getRetries() - Method in interface net.wimpi.modbus.io.ModbusTransaction
Returns the amount of retries for opening the connection for executing the transaction.
getRetries() - Method in class net.wimpi.modbus.io.ModbusUDPTransaction
 
getStopbits() - Method in class net.wimpi.modbus.util.SerialParameters
Returns the number of stop bits as int.
getStopbitsString() - Method in class net.wimpi.modbus.util.SerialParameters
Returns the number of stop bits as String.
getTerminal() - Method in class net.wimpi.modbus.net.UDPMasterConnection
Returns the terminal used for handling the package traffic.
getTimeout() - Method in class net.wimpi.modbus.net.TCPMasterConnection
Returns the timeout for this TCPMasterConnection.
getTimeout() - Method in class net.wimpi.modbus.net.TCPSlaveConnection
Returns the timeout for this TCPMasterConnection.
getTimeout() - Method in class net.wimpi.modbus.net.UDPMasterConnection
Returns the timeout for this UDPMasterConnection.
getTransDelayMS() - Method in class net.wimpi.modbus.io.ModbusSerialTransaction
Get the TransDelayMS value.
getTransactionID() - Method in class net.wimpi.modbus.io.ModbusSerialTransaction
 
getTransactionID() - Method in class net.wimpi.modbus.io.ModbusTCPTransaction
 
getTransactionID() - Method in interface net.wimpi.modbus.io.ModbusTransaction
Returns the actual transaction identifier of this ModbusTransaction.
getTransactionID() - Method in class net.wimpi.modbus.io.ModbusUDPTransaction
 
getTransactionID() - Method in interface net.wimpi.modbus.msg.ModbusMessage
Returns the transaction identifier of this ModbusMessage as int.
getTransactionID() - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
 
getType() - Method in class net.wimpi.modbus.ModbusSlaveException
Returns the type of this ModbusSlaveException.
getUnitID() - Method in class net.wimpi.modbus.ModbusCoupler
Returns the identifier of this unit.
getUnitID() - Method in interface net.wimpi.modbus.msg.ModbusMessage
Returns the unit identifier of this ModbusMessage as int.
getUnitID() - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
 
getUnitIdentifier() - Method in class net.wimpi.modbus.facade.ModbusSerialMaster
Returns the unit identifier of this ModbusSerialMaster.
getValue() - Method in class net.wimpi.modbus.procimg.AbstractRegister
 
getValue() - Method in interface net.wimpi.modbus.procimg.InputRegister
Returns the value of this InputRegister.
getValue() - Method in class net.wimpi.modbus.procimg.ObservableRegister
 
getValue() - Method in class net.wimpi.modbus.procimg.SynchronizedAbstractRegister
 
getWordCount() - Method in interface net.wimpi.modbus.io.NonWordDataHandler
Returns the word count of the data.
getWordCount() - Method in class net.wimpi.modbus.msg.ReadInputRegistersRequest
Returns the number of words to be read with this ReadInputRegistersRequest.
getWordCount() - Method in class net.wimpi.modbus.msg.ReadInputRegistersResponse
Returns the number of words that have been read.
getWordCount() - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersRequest
Returns the number of words to be read with this ReadMultipleRegistersRequest.
getWordCount() - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersResponse
Returns the number of words that have been read.
getWordCount() - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
Returns the number of words to be written.
getWordCount() - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersResponse
Returns the number of words that have been read.

H

hiByte(int) - Static method in class net.wimpi.modbus.util.ModbusUtil
 

I

ILLEGAL_ADDRESS_EXCEPTION - Static variable in interface net.wimpi.modbus.Modbus
Defines the Modbus slave exception type illegal data address.
ILLEGAL_FUNCTION_EXCEPTION - Static variable in interface net.wimpi.modbus.Modbus
Defines the Modbus slave exception type illegal function.
ILLEGAL_VALUE_EXCEPTION - Static variable in interface net.wimpi.modbus.Modbus
Defines the Modbus slave exception type illegal data value.
IllegalAddressException - exception net.wimpi.modbus.procimg.IllegalAddressException.
Class implementing an IllegalAddressException.
IllegalAddressException() - Constructor for class net.wimpi.modbus.procimg.IllegalAddressException
Constructs a new IllegalAddressException.
IllegalAddressException(String) - Constructor for class net.wimpi.modbus.procimg.IllegalAddressException
Constructs a new IllegalAddressException with the given message.
IllegalFunctionRequest - class net.wimpi.modbus.msg.IllegalFunctionRequest.
Class implementing a ModbusRequest which is created for illegal or non implemented function codes.
IllegalFunctionRequest(int) - Constructor for class net.wimpi.modbus.msg.IllegalFunctionRequest
Constructs a new IllegalFunctionRequest instance for a given function code.
InputRegister - interface net.wimpi.modbus.procimg.InputRegister.
Interface defining an input register.
initPool() - Method in class net.wimpi.modbus.util.ThreadPool
Initializes the pool, populating it with n started threads.
insert(Object) - Method in class net.wimpi.modbus.util.LinkedQueue
Main mechanics for put/offer
intToRegisters(int) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts an int value to a byte[4] array.
isActive() - Method in interface net.wimpi.modbus.net.UDPTerminal
Tests if this UDPTerminal is active.
isCheckingValidity() - Method in class net.wimpi.modbus.io.ModbusSerialTransaction
 
isCheckingValidity() - Method in class net.wimpi.modbus.io.ModbusTCPTransaction
 
isCheckingValidity() - Method in interface net.wimpi.modbus.io.ModbusTransaction
Tests whether the validity of a transaction will be checked.
isCheckingValidity() - Method in class net.wimpi.modbus.io.ModbusUDPTransaction
 
isConnected() - Method in class net.wimpi.modbus.net.TCPMasterConnection
Tests if this TCPMasterConnection is connected.
isConnected() - Method in class net.wimpi.modbus.net.TCPSlaveConnection
Tests if this TCPMasterConnection is connected.
isConnected() - Method in class net.wimpi.modbus.net.UDPMasterConnection
Tests if this UDPMasterConnection is connected.
isEOF() - Method in class net.wimpi.modbus.ModbusIOException
Tests if this ModbusIOException is caused by an end of the stream.
isEcho() - Method in class net.wimpi.modbus.io.ModbusSerialTransport
isEcho method returns the output echo state.
isEcho() - Method in class net.wimpi.modbus.util.SerialParameters
Get the Echo value.
isEmpty() - Method in class net.wimpi.modbus.util.LinkedQueue
 
isHeadless() - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
Tests if this message instance is headless.
isLSBAccess() - Method in class net.wimpi.modbus.util.BitVector
Tests if this BitVector has the LSB (rightmost) as the first bit (i.e. at index 0).
isListening() - Method in class net.wimpi.modbus.net.ModbusSerialListener
Tests if this ModbusTCPListener is listening and accepting incoming connections.
isListening() - Method in class net.wimpi.modbus.net.ModbusTCPListener
Tests if this ModbusTCPListener is listening and accepting incoming connections.
isListening() - Method in class net.wimpi.modbus.net.ModbusUDPListener
Tests if this ModbusTCPListener is listening and accepting incoming connections.
isLocked() - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
isMSBAccess() - Method in class net.wimpi.modbus.util.BitVector
Tests if this BitVector has the MSB (leftmost) as the first bit (i.e. at index 0).
isMaster() - Method in class net.wimpi.modbus.ModbusCoupler
Tests if this instance is a master device.
isOpen() - Method in class net.wimpi.modbus.net.SerialConnection
Reports the open status of the port.
isReconnecting() - Method in class net.wimpi.modbus.facade.ModbusTCPMaster
Tests if a constant connection is maintained or if a new connection is established for every transaction.
isReconnecting() - Method in class net.wimpi.modbus.io.ModbusTCPTransaction
Tests if the connection will be openend and closed for each execution.
isSet() - Method in interface net.wimpi.modbus.procimg.DigitalIn
Tests if this DigitalIn is set.
isSet() - Method in interface net.wimpi.modbus.procimg.DigitalOut
Tests if this DigitalOut is set.
isSet() - Method in class net.wimpi.modbus.procimg.ObservableDigitalOut
 
isSet() - Method in class net.wimpi.modbus.procimg.SimpleDigitalIn
 
isSet() - Method in class net.wimpi.modbus.procimg.SimpleDigitalOut
 
isSlave() - Method in class net.wimpi.modbus.ModbusCoupler
Tests if this instance is not a master device.
isType(int) - Method in class net.wimpi.modbus.ModbusSlaveException
Tests if this ModbusSlaveException is of a given type.

L

LinkedNode - class net.wimpi.modbus.util.LinkedNode.
Class defining a linked node element.
LinkedNode(Object) - Constructor for class net.wimpi.modbus.util.LinkedNode
 
LinkedNode(Object, LinkedNode) - Constructor for class net.wimpi.modbus.util.LinkedNode
 
LinkedQueue - class net.wimpi.modbus.util.LinkedQueue.
 
LinkedQueue() - Constructor for class net.wimpi.modbus.util.LinkedQueue
 
longToRegisters(long) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts a long value to a byte[8].
lowByte(int) - Static method in class net.wimpi.modbus.util.ModbusUtil
Returs the low byte of an integer word.

M

MAX_BITS - Static variable in interface net.wimpi.modbus.Modbus
Defines the maximum number of bits in multiple read/write of input discretes or coils (2000).
MAX_MESSAGE_LENGTH - Static variable in interface net.wimpi.modbus.Modbus
Defines the maximum message length in bytes (=256).
MAX_TRANSACTION_ID - Static variable in interface net.wimpi.modbus.Modbus
Defines the maximum value of the transaction identifier.
Modbus - interface net.wimpi.modbus.Modbus.
Interface defining all constants related to the Modbus protocol.
ModbusASCIITransport - class net.wimpi.modbus.io.ModbusASCIITransport.
Class that implements the Modbus/ASCII transport flavor.
ModbusASCIITransport() - Constructor for class net.wimpi.modbus.io.ModbusASCIITransport
Constructs a new MobusASCIITransport instance.
ModbusBINTransport - class net.wimpi.modbus.io.ModbusBINTransport.
Class that implements the Modbus/BIN transport flavor.
ModbusBINTransport() - Constructor for class net.wimpi.modbus.io.ModbusBINTransport
Constructs a new MobusBINTransport instance.
ModbusCoupler - class net.wimpi.modbus.ModbusCoupler.
Class implemented following a Singleton pattern, to couple the slave side with a master side or with a device.
ModbusException - exception net.wimpi.modbus.ModbusException.
Superclass of all specialised exceptions in this package.
ModbusException() - Constructor for class net.wimpi.modbus.ModbusException
Constructs a new ModbusException instance.
ModbusException(String) - Constructor for class net.wimpi.modbus.ModbusException
Constructs a new ModbusException instance with the given message.
ModbusIOException - exception net.wimpi.modbus.ModbusIOException.
Class that implements a ModbusIOException.
ModbusIOException() - Constructor for class net.wimpi.modbus.ModbusIOException
Constructs a new ModbusIOException instance.
ModbusIOException(String) - Constructor for class net.wimpi.modbus.ModbusIOException
Constructs a new ModbusIOException instance with the given message.
ModbusIOException(boolean) - Constructor for class net.wimpi.modbus.ModbusIOException
Constructs a new ModbusIOException instance.
ModbusIOException(String, boolean) - Constructor for class net.wimpi.modbus.ModbusIOException
Constructs a new ModbusIOException instance with the given message.
ModbusMessage - interface net.wimpi.modbus.msg.ModbusMessage.
Interface defining a ModbusMessage.
ModbusMessageImpl - class net.wimpi.modbus.msg.ModbusMessageImpl.
Abstract class implementing a ModbusMessage.
ModbusMessageImpl() - Constructor for class net.wimpi.modbus.msg.ModbusMessageImpl
 
ModbusRTUTransport - class net.wimpi.modbus.io.ModbusRTUTransport.
Class that implements the ModbusRTU transport flavor.
ModbusRTUTransport() - Constructor for class net.wimpi.modbus.io.ModbusRTUTransport
 
ModbusRequest - class net.wimpi.modbus.msg.ModbusRequest.
Abstract class implementing a ModbusRequest.
ModbusRequest() - Constructor for class net.wimpi.modbus.msg.ModbusRequest
 
ModbusResponse - class net.wimpi.modbus.msg.ModbusResponse.
Abstract class implementing a ModbusResponse.
ModbusResponse() - Constructor for class net.wimpi.modbus.msg.ModbusResponse
 
ModbusSerialListener - class net.wimpi.modbus.net.ModbusSerialListener.
Class that implements a ModbusTCPListener.
ModbusSerialListener(SerialParameters) - Constructor for class net.wimpi.modbus.net.ModbusSerialListener
Constructs a new ModbusSerialListener instance.
ModbusSerialMaster - class net.wimpi.modbus.facade.ModbusSerialMaster.
Modbus/Serial Master facade.
ModbusSerialMaster(SerialParameters) - Constructor for class net.wimpi.modbus.facade.ModbusSerialMaster
Constructs a new master facade instance for communication with a given slave.
ModbusSerialTransaction - class net.wimpi.modbus.io.ModbusSerialTransaction.
Class implementing the ModbusTransaction interface.
ModbusSerialTransaction() - Constructor for class net.wimpi.modbus.io.ModbusSerialTransaction
Constructs a new ModbusSerialTransaction instance.
ModbusSerialTransaction(ModbusRequest) - Constructor for class net.wimpi.modbus.io.ModbusSerialTransaction
Constructs a new ModbusSerialTransaction instance with a given ModbusRequest to be send when the transaction is executed.
ModbusSerialTransaction(SerialConnection) - Constructor for class net.wimpi.modbus.io.ModbusSerialTransaction
Constructs a new ModbusSerialTransaction instance with a given ModbusRequest to be send when the transaction is executed.
ModbusSerialTransport - class net.wimpi.modbus.io.ModbusSerialTransport.
Abstract base class for serial ModbusTransport implementations.
ModbusSerialTransport() - Constructor for class net.wimpi.modbus.io.ModbusSerialTransport
 
ModbusSlaveException - exception net.wimpi.modbus.ModbusSlaveException.
Class that implements a ModbusSlaveException.
ModbusSlaveException(int) - Constructor for class net.wimpi.modbus.ModbusSlaveException
Constructs a new ModbusSlaveException instance with the given type.
ModbusTCPListener - class net.wimpi.modbus.net.ModbusTCPListener.
Class that implements a ModbusTCPListener.
ModbusTCPListener(int) - Constructor for class net.wimpi.modbus.net.ModbusTCPListener
Constructs a ModbusTCPListener instance.
ModbusTCPListener(int, InetAddress) - Constructor for class net.wimpi.modbus.net.ModbusTCPListener
Constructs a ModbusTCPListener instance.
ModbusTCPMaster - class net.wimpi.modbus.facade.ModbusTCPMaster.
Modbus/TCP Master facade.
ModbusTCPMaster(String) - Constructor for class net.wimpi.modbus.facade.ModbusTCPMaster
Constructs a new master facade instance for communication with a given slave.
ModbusTCPMaster(String, int) - Constructor for class net.wimpi.modbus.facade.ModbusTCPMaster
Constructs a new master facade instance for communication with a given slave.
ModbusTCPTransaction - class net.wimpi.modbus.io.ModbusTCPTransaction.
Class implementing the ModbusTransaction interface.
ModbusTCPTransaction() - Constructor for class net.wimpi.modbus.io.ModbusTCPTransaction
Constructs a new ModbusTCPTransaction instance.
ModbusTCPTransaction(ModbusRequest) - Constructor for class net.wimpi.modbus.io.ModbusTCPTransaction
Constructs a new ModbusTCPTransaction instance with a given ModbusRequest to be send when the transaction is executed.
ModbusTCPTransaction(TCPMasterConnection) - Constructor for class net.wimpi.modbus.io.ModbusTCPTransaction
Constructs a new ModbusTCPTransaction instance with a given TCPMasterConnection to be used for transactions.
ModbusTCPTransport - class net.wimpi.modbus.io.ModbusTCPTransport.
Class that implements the Modbus transport flavor.
ModbusTCPTransport(Socket) - Constructor for class net.wimpi.modbus.io.ModbusTCPTransport
Constructs a new ModbusTransport instance, for a given Socket.
ModbusTransaction - interface net.wimpi.modbus.io.ModbusTransaction.
Interface defining a ModbusTransaction.
ModbusTransport - interface net.wimpi.modbus.io.ModbusTransport.
Interface defining the I/O mechanisms for ModbusMessage instances.
ModbusUDPListener - class net.wimpi.modbus.net.ModbusUDPListener.
Class that implements a ModbusUDPListener.
ModbusUDPListener() - Constructor for class net.wimpi.modbus.net.ModbusUDPListener
Constructs a new ModbusUDPListener instance.
ModbusUDPListener(InetAddress) - Constructor for class net.wimpi.modbus.net.ModbusUDPListener
Create a new ModbusUDPListener instance listening to the given interface address.
ModbusUDPMaster - class net.wimpi.modbus.facade.ModbusUDPMaster.
Modbus/UDP Master facade.
ModbusUDPMaster(String) - Constructor for class net.wimpi.modbus.facade.ModbusUDPMaster
Constructs a new master facade instance for communication with a given slave.
ModbusUDPMaster(String, int) - Constructor for class net.wimpi.modbus.facade.ModbusUDPMaster
Constructs a new master facade instance for communication with a given slave.
ModbusUDPTransaction - class net.wimpi.modbus.io.ModbusUDPTransaction.
Class implementing the ModbusTransaction interface for the UDP transport mechanism.
ModbusUDPTransaction() - Constructor for class net.wimpi.modbus.io.ModbusUDPTransaction
Constructs a new ModbusUDPTransaction instance.
ModbusUDPTransaction(ModbusRequest) - Constructor for class net.wimpi.modbus.io.ModbusUDPTransaction
Constructs a new ModbusUDPTransaction instance with a given ModbusRequest to be send when the transaction is executed.
ModbusUDPTransaction(UDPTerminal) - Constructor for class net.wimpi.modbus.io.ModbusUDPTransaction
Constructs a new ModbusUDPTransaction instance with a given UDPTerminal to be used for transactions.
ModbusUDPTransaction(UDPMasterConnection) - Constructor for class net.wimpi.modbus.io.ModbusUDPTransaction
Constructs a new ModbusUDPTransaction instance with a given ModbusUDPConnection to be used for transactions.
ModbusUDPTransport - class net.wimpi.modbus.io.ModbusUDPTransport.
Class that implements the Modbus UDP transport flavor.
ModbusUDPTransport(UDPTerminal) - Constructor for class net.wimpi.modbus.io.ModbusUDPTransport
Constructs a new ModbusTransport instance, for a given UDPTerminal.
ModbusUtil - class net.wimpi.modbus.util.ModbusUtil.
Helper class that provides utility methods.
ModbusUtil() - Constructor for class net.wimpi.modbus.util.ModbusUtil
 
m_CommPort - Variable in class net.wimpi.modbus.io.ModbusSerialTransport
 
m_DigitalInputs - Variable in class net.wimpi.modbus.procimg.SimpleProcessImage
 
m_DigitalOutputs - Variable in class net.wimpi.modbus.procimg.SimpleProcessImage
 
m_Echo - Variable in class net.wimpi.modbus.io.ModbusSerialTransport
 
m_Head - Variable in class net.wimpi.modbus.util.LinkedQueue
Dummy header node of list.
m_InputRegisters - Variable in class net.wimpi.modbus.procimg.SimpleProcessImage
 
m_Locked - Variable in class net.wimpi.modbus.procimg.SimpleProcessImage
 
m_NextNode - Variable in class net.wimpi.modbus.util.LinkedNode
 
m_Node - Variable in class net.wimpi.modbus.util.LinkedNode
 
m_PutLock - Variable in class net.wimpi.modbus.util.LinkedQueue
Helper monitor for managing access to last node.
m_Register - Variable in class net.wimpi.modbus.procimg.AbstractRegister
The word (byte[2]) holding the register content.
m_Register - Variable in class net.wimpi.modbus.procimg.ObservableRegister
The word (byte[2] holding the content of this register.
m_Register - Variable in class net.wimpi.modbus.procimg.SynchronizedAbstractRegister
The word (byte[2]) hodling the state of this register.
m_Registers - Variable in class net.wimpi.modbus.procimg.SimpleProcessImage
 
m_Set - Variable in class net.wimpi.modbus.procimg.ObservableDigitalOut
A boolean holding the state of this digital out.
m_Set - Variable in class net.wimpi.modbus.procimg.SimpleDigitalIn
Field for the digital in state.
m_Set - Variable in class net.wimpi.modbus.procimg.SimpleDigitalOut
Field for the digital out state.
m_Tail - Variable in class net.wimpi.modbus.util.LinkedQueue
The last node of list.
m_WaitingForTake - Variable in class net.wimpi.modbus.util.LinkedQueue
The number of threads waiting for a take.
main(String[]) - Static method in class net.wimpi.modbus.cmd.AIAOTest
 
main(String[]) - Static method in class net.wimpi.modbus.cmd.AITest
 
main(String[]) - Static method in class net.wimpi.modbus.cmd.AOTest
 
main(String[]) - Static method in class net.wimpi.modbus.cmd.DIDOTest
 
main(String[]) - Static method in class net.wimpi.modbus.cmd.DITest
 
main(String[]) - Static method in class net.wimpi.modbus.cmd.DOTest
 
main(String[]) - Static method in class net.wimpi.modbus.cmd.SerialAITest
 
main(String[]) - Static method in class net.wimpi.modbus.cmd.SerialDITest
 
main(String[]) - Static method in class net.wimpi.modbus.cmd.SerialFacadeTest
 
main(String[]) - Static method in class net.wimpi.modbus.cmd.SerialSlaveTest
 
main(String[]) - Static method in class net.wimpi.modbus.cmd.TCPSlaveTest
 
main(String[]) - Static method in class net.wimpi.modbus.cmd.UDPDITest
 
main(String[]) - Static method in class net.wimpi.modbus.cmd.UDPDOTest
 
main(String[]) - Static method in class net.wimpi.modbus.cmd.UDPSlaveTest
 
main(String[]) - Static method in class net.wimpi.modbus.util.BitVector
 
makeSpace(int) - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
Ensure that at least the given number of bytes are available in the internal buffer.
makeWord(int, int) - Static method in class net.wimpi.modbus.util.ModbusUtil
 
mark - Variable in class net.wimpi.modbus.io.FastByteArrayInputStream
Marked position pointer into the input buffer.
mark(int) - Method in class net.wimpi.modbus.io.FastByteArrayInputStream
 
markSupported() - Method in class net.wimpi.modbus.io.FastByteArrayInputStream
 

N

NonWordDataHandler - interface net.wimpi.modbus.io.NonWordDataHandler.
Interface implementing a non word data handler for the read/write multiple register commands (class 0).
net.wimpi.modbus - package net.wimpi.modbus
Provides an object oriented Modbus implementation in Java.
net.wimpi.modbus.cmd - package net.wimpi.modbus.cmd
Provides some simple commandline tools for demonstration purposes.
net.wimpi.modbus.facade - package net.wimpi.modbus.facade
Provides facade pattern implementations.
net.wimpi.modbus.io - package net.wimpi.modbus.io
Provides I/O and transport related interfaces and classes.
net.wimpi.modbus.msg - package net.wimpi.modbus.msg
Provides interfaces and classes that encapsulate Modbus messages in an object oriented manner.
net.wimpi.modbus.net - package net.wimpi.modbus.net
Provides the network related parts of this Modbus implementation.
net.wimpi.modbus.procimg - package net.wimpi.modbus.procimg
Provides interfaces and classes that provide a coupling between a slave side and a master or device side.
net.wimpi.modbus.util - package net.wimpi.modbus.util
Provides utility and helper classes for the Modbus implementation.
notifyObservers(Object) - Method in class net.wimpi.modbus.util.Observable
Notifies all observer instances in the set of observers of this Observable.

O

Observable - class net.wimpi.modbus.util.Observable.
A cleanroom implementation of the Observable pattern.
Observable() - Constructor for class net.wimpi.modbus.util.Observable
Constructs a new Observable instance.
ObservableDigitalOut - class net.wimpi.modbus.procimg.ObservableDigitalOut.
Class implementing an observable digital output.
ObservableDigitalOut() - Constructor for class net.wimpi.modbus.procimg.ObservableDigitalOut
 
ObservableRegister - class net.wimpi.modbus.procimg.ObservableRegister.
Class implementing an observable register.
ObservableRegister() - Constructor for class net.wimpi.modbus.procimg.ObservableRegister
 
Observer - interface net.wimpi.modbus.util.Observer.
A cleanroom implementation of the Observer interface for the Observable design pattern.
offer(Object, long) - Method in class net.wimpi.modbus.util.LinkedQueue
 
open() - Method in class net.wimpi.modbus.net.SerialConnection
Opens the communication port.

P

ProcessImage - interface net.wimpi.modbus.procimg.ProcessImage.
Interface defining a process image in an object oriented manner.
ProcessImageFactory - interface net.wimpi.modbus.procimg.ProcessImageFactory.
Interface defining the factory methods for the process image and it's elements.
ProcessImageImplementation - interface net.wimpi.modbus.procimg.ProcessImageImplementation.
Interface defining implementation specific details of the ProcessImage, adding mechanisms for creating and modifying the actual "process image".
peek() - Method in class net.wimpi.modbus.util.LinkedQueue
 
poll(long) - Method in class net.wimpi.modbus.util.LinkedQueue
 
pos - Variable in class net.wimpi.modbus.io.FastByteArrayInputStream
Actual position pointer into the input buffer.
prepareData(int, int) - Method in interface net.wimpi.modbus.io.NonWordDataHandler
Prepares the raw data, putting it together from a backing data store.
prepareStreams(InputStream, OutputStream) - Method in class net.wimpi.modbus.io.ModbusASCIITransport
Prepares the input and output streams of this ModbusASCIITransport instance.
prepareStreams(InputStream, OutputStream) - Method in class net.wimpi.modbus.io.ModbusBINTransport
Prepares the input and output streams of this ModbusASCIITransport instance.
prepareStreams(InputStream, OutputStream) - Method in class net.wimpi.modbus.io.ModbusRTUTransport
Prepares the input and output streams of this ModbusRTUTransport instance.
prepareStreams(InputStream, OutputStream) - Method in class net.wimpi.modbus.io.ModbusSerialTransport
prepareStreams prepares the input and output streams of this ModbusSerialTransport instance.
put(Object) - Method in class net.wimpi.modbus.util.LinkedQueue
 

R

READ_COILS - Static variable in interface net.wimpi.modbus.Modbus
Defines the class 1 function code for read coils.
READ_INPUT_DISCRETES - Static variable in interface net.wimpi.modbus.Modbus
Defines a class 1 function code for read input discretes.
READ_INPUT_REGISTERS - Static variable in interface net.wimpi.modbus.Modbus
Defines a class 1 function code for read input registers.
READ_MULTIPLE_REGISTERS - Static variable in interface net.wimpi.modbus.Modbus
Defines the class 0 function code for read multiple registers.
ReadCoilsRequest - class net.wimpi.modbus.msg.ReadCoilsRequest.
Class implementing a ReadCoilsRequest.
ReadCoilsRequest() - Constructor for class net.wimpi.modbus.msg.ReadCoilsRequest
Constructs a new ReadCoilsRequest instance.
ReadCoilsRequest(int, int) - Constructor for class net.wimpi.modbus.msg.ReadCoilsRequest
Constructs a new ReadCoilsRequest instance with a given reference and count of coils (i.e. bits) to be read.
ReadCoilsResponse - class net.wimpi.modbus.msg.ReadCoilsResponse.
Class implementing a ReadCoilsResponse.
ReadCoilsResponse() - Constructor for class net.wimpi.modbus.msg.ReadCoilsResponse
Constructs a new ReadCoilsResponse instance.
ReadCoilsResponse(int) - Constructor for class net.wimpi.modbus.msg.ReadCoilsResponse
Constructs a new ReadCoilsResponse instance with a given count of coils (i.e. bits).
ReadInputDiscretesRequest - class net.wimpi.modbus.msg.ReadInputDiscretesRequest.
Class implementing a ReadInputDiscretesRequest.
ReadInputDiscretesRequest() - Constructor for class net.wimpi.modbus.msg.ReadInputDiscretesRequest
Constructs a new ReadInputDiscretesRequest instance.
ReadInputDiscretesRequest(int, int) - Constructor for class net.wimpi.modbus.msg.ReadInputDiscretesRequest
Constructs a new ReadInputDiscretesRequest instance with a given reference and count of input discretes (i.e. bits) to be read.
ReadInputDiscretesResponse - class net.wimpi.modbus.msg.ReadInputDiscretesResponse.
Class implementing a ReadInputDiscretesResponse.
ReadInputDiscretesResponse() - Constructor for class net.wimpi.modbus.msg.ReadInputDiscretesResponse
Constructs a new ReadInputDiscretesResponse instance.
ReadInputDiscretesResponse(int) - Constructor for class net.wimpi.modbus.msg.ReadInputDiscretesResponse
Constructs a new ReadInputDiscretesResponse instance with a given count of input discretes (i.e. bits).
ReadInputRegistersRequest - class net.wimpi.modbus.msg.ReadInputRegistersRequest.
Class implementing a ReadInputRegistersRequest.
ReadInputRegistersRequest() - Constructor for class net.wimpi.modbus.msg.ReadInputRegistersRequest
Constructs a new ReadInputRegistersRequest instance.
ReadInputRegistersRequest(int, int) - Constructor for class net.wimpi.modbus.msg.ReadInputRegistersRequest
Constructs a new ReadInputRegistersRequest instance with a given reference and count of words to be read.
ReadInputRegistersResponse - class net.wimpi.modbus.msg.ReadInputRegistersResponse.
Class implementing a ReadInputRegistersRequest.
ReadInputRegistersResponse() - Constructor for class net.wimpi.modbus.msg.ReadInputRegistersResponse
Constructs a new ReadInputRegistersResponse instance.
ReadInputRegistersResponse(InputRegister[]) - Constructor for class net.wimpi.modbus.msg.ReadInputRegistersResponse
Constructs a new ReadInputRegistersResponse instance.
ReadMultipleRegistersRequest - class net.wimpi.modbus.msg.ReadMultipleRegistersRequest.
Class implementing a ReadMultipleRegistersRequest.
ReadMultipleRegistersRequest() - Constructor for class net.wimpi.modbus.msg.ReadMultipleRegistersRequest
Constructs a new ReadMultipleRegistersRequest instance.
ReadMultipleRegistersRequest(int, int) - Constructor for class net.wimpi.modbus.msg.ReadMultipleRegistersRequest
Constructs a new ReadMultipleRegistersRequest instance with a given reference and count of words to be read.
ReadMultipleRegistersResponse - class net.wimpi.modbus.msg.ReadMultipleRegistersResponse.
Class implementing a ReadMultipleRegistersResponse.
ReadMultipleRegistersResponse() - Constructor for class net.wimpi.modbus.msg.ReadMultipleRegistersResponse
Constructs a new ReadMultipleRegistersResponse instance.
ReadMultipleRegistersResponse(Register[]) - Constructor for class net.wimpi.modbus.msg.ReadMultipleRegistersResponse
Constructs a new ReadInputRegistersResponse instance.
Register - interface net.wimpi.modbus.procimg.Register.
Interface defining a register.
read() - Method in class net.wimpi.modbus.io.ASCIIInputStream
Reads a byte from the ASCII encoded stream.
read() - Method in class net.wimpi.modbus.io.BINInputStream
Reads a byte from the BIN encoded stream.
read() - Method in class net.wimpi.modbus.io.FastByteArrayInputStream
 
read(byte[]) - Method in class net.wimpi.modbus.io.FastByteArrayInputStream
 
read(byte[], int, int) - Method in class net.wimpi.modbus.io.FastByteArrayInputStream
 
readBoolean() - Method in class net.wimpi.modbus.io.BytesInputStream
 
readByte() - Method in class net.wimpi.modbus.io.BytesInputStream
 
readChar() - Method in class net.wimpi.modbus.io.BytesInputStream
 
readCoils(int, int, int) - Method in class net.wimpi.modbus.facade.ModbusSerialMaster
Reads a given number of coil states from the slave.
readCoils(int, int) - Method in class net.wimpi.modbus.facade.ModbusTCPMaster
Reads a given number of coil states from the slave.
readCoils(int, int) - Method in class net.wimpi.modbus.facade.ModbusUDPMaster
Reads a given number of coil states from the slave.
readData(DataInput, int, int) - Method in interface net.wimpi.modbus.io.NonWordDataHandler
Reads the non-word raw data based on an arbitrary implemented structure.
readData(DataInput) - Method in class net.wimpi.modbus.msg.ExceptionResponse
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.IllegalFunctionRequest
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
Reads the subclass specific data from the given DataInput instance.
readData(DataInput) - Method in class net.wimpi.modbus.msg.ReadCoilsRequest
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.ReadCoilsResponse
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.ReadInputDiscretesRequest
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.ReadInputDiscretesResponse
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.ReadInputRegistersRequest
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.ReadInputRegistersResponse
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersRequest
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersResponse
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.WriteCoilRequest
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.WriteCoilResponse
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsResponse
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersResponse
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.WriteSingleRegisterRequest
 
readData(DataInput) - Method in class net.wimpi.modbus.msg.WriteSingleRegisterResponse
 
readDouble() - Method in class net.wimpi.modbus.io.BytesInputStream
 
readEcho(int) - Method in class net.wimpi.modbus.io.ModbusSerialTransport
Reads the own message echo produced in RS485 Echo Mode within the given time frame.
readFloat() - Method in class net.wimpi.modbus.io.BytesInputStream
 
readFrom(DataInput) - Method in interface net.wimpi.modbus.io.Transportable
Reads this Transportable from the given DataInput.
readFrom(DataInput) - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
 
readFully(byte[]) - Method in class net.wimpi.modbus.io.BytesInputStream
 
readFully(byte[], int, int) - Method in class net.wimpi.modbus.io.BytesInputStream
 
readInputDiscretes(int, int, int) - Method in class net.wimpi.modbus.facade.ModbusSerialMaster
Reads a given number of input discrete states from the slave.
readInputDiscretes(int, int) - Method in class net.wimpi.modbus.facade.ModbusTCPMaster
Reads a given number of input discrete states from the slave.
readInputDiscretes(int, int) - Method in class net.wimpi.modbus.facade.ModbusUDPMaster
Reads a given number of input discrete states from the slave.
readInputRegisters(int, int, int) - Method in class net.wimpi.modbus.facade.ModbusSerialMaster
Reads a given number of input registers from the slave.
readInputRegisters(int, int) - Method in class net.wimpi.modbus.facade.ModbusTCPMaster
Reads a given number of input registers from the slave.
readInputRegisters(int, int) - Method in class net.wimpi.modbus.facade.ModbusUDPMaster
Reads a given number of input registers from the slave.
readInt() - Method in class net.wimpi.modbus.io.BytesInputStream
 
readLine() - Method in class net.wimpi.modbus.io.BytesInputStream
 
readLong() - Method in class net.wimpi.modbus.io.BytesInputStream
 
readMultipleRegisters(int, int, int) - Method in class net.wimpi.modbus.facade.ModbusSerialMaster
Reads a given number of registers from the slave.
readMultipleRegisters(int, int) - Method in class net.wimpi.modbus.facade.ModbusTCPMaster
Reads a given number of registers from the slave.
readMultipleRegisters(int, int) - Method in class net.wimpi.modbus.facade.ModbusUDPMaster
Reads a given number of registers from the slave.
readRequest() - Method in class net.wimpi.modbus.io.ModbusASCIITransport
 
readRequest() - Method in class net.wimpi.modbus.io.ModbusBINTransport
 
readRequest() - Method in class net.wimpi.modbus.io.ModbusRTUTransport
 
readRequest() - Method in class net.wimpi.modbus.io.ModbusSerialTransport
The readRequest method listens continuously on the serial input stream for master request messages and replies if the request slave ID matches its own set in ModbusCoupler.getUnitID().
readRequest() - Method in class net.wimpi.modbus.io.ModbusTCPTransport
 
readRequest() - Method in interface net.wimpi.modbus.io.ModbusTransport
Reads a ModbusRequest from the input stream of this ModbusTransport.
readRequest() - Method in class net.wimpi.modbus.io.ModbusUDPTransport
 
readResponse() - Method in class net.wimpi.modbus.io.ModbusASCIITransport
 
readResponse() - Method in class net.wimpi.modbus.io.ModbusBINTransport
 
readResponse() - Method in class net.wimpi.modbus.io.ModbusRTUTransport
 
readResponse() - Method in class net.wimpi.modbus.io.ModbusSerialTransport
readResponse reads a response message from the slave responding to a master writeMessage request.
readResponse() - Method in class net.wimpi.modbus.io.ModbusTCPTransport
 
readResponse() - Method in interface net.wimpi.modbus.io.ModbusTransport
Reads a ModbusResponse from the input stream of this ModbusTransport.
readResponse() - Method in class net.wimpi.modbus.io.ModbusUDPTransport
 
readShort() - Method in class net.wimpi.modbus.io.BytesInputStream
 
readUTF() - Method in class net.wimpi.modbus.io.BytesInputStream
 
readUnsignedByte() - Method in class net.wimpi.modbus.io.BytesInputStream
 
readUnsignedShort() - Method in class net.wimpi.modbus.io.BytesInputStream
 
receiveMessage() - Method in interface net.wimpi.modbus.net.UDPTerminal
Receives and returns a message.
registerToShort(byte[]) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts the given register (16-bit value) into a short.
registerToShort(byte[], int) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts the register (16-bit value) at the given index into a short.
registerToUnsignedShort(byte[]) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts the register (a 16 bit value) into an unsigned short.
registersToDouble(byte[]) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts a byte[8] binary double value into a double primitive.
registersToFloat(byte[]) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts a byte[4] binary float value to a float primitive.
registersToInt(byte[]) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts a byte[4] binary int value to a primitive int.
registersToLong(byte[]) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts a byte[8] binary long value into a long primitive.
removeDigitalIn(DigitalIn) - Method in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Removes a given DigitalIn instance.
removeDigitalIn(DigitalIn) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
removeDigitalOut(DigitalOut) - Method in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Removes a given DigitalOut instance.
removeDigitalOut(DigitalOut) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
removeInputRegister(InputRegister) - Method in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Removes a given InputRegister instance.
removeInputRegister(InputRegister) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
removeObserver(Observer) - Method in class net.wimpi.modbus.util.Observable
Removes an observer instance from the set of observers of this Observable.
removeObservers() - Method in class net.wimpi.modbus.util.Observable
Removes all observer instances from the set of observers of this Observable.
removeRegister(Register) - Method in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Removes a given Register instance.
removeRegister(Register) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
reset(byte[]) - Method in class net.wimpi.modbus.io.BytesInputStream
Resets this BytesInputStream using the given byte[] as new input buffer.
reset(byte[], int) - Method in class net.wimpi.modbus.io.BytesInputStream
Resets this BytesInputStream using the given byte[] as new input buffer and a given length.
reset(int) - Method in class net.wimpi.modbus.io.BytesInputStream
Resets this BytesInputStream assigning the input buffer a new length.
reset() - Method in class net.wimpi.modbus.io.BytesOutputStream
 
reset() - Method in class net.wimpi.modbus.io.FastByteArrayInputStream
 
reset() - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
Resets this FastByteArrayOutputStream.
run() - Method in class net.wimpi.modbus.net.ModbusTCPListener
Accepts incoming connections and handles then with TCPConnectionHandler instances.
run() - Method in class net.wimpi.modbus.net.TCPConnectionHandler
 

S

SERIAL_ENCODING_ASCII - Static variable in interface net.wimpi.modbus.Modbus
Defines the serial encoding "ASCII".
SERIAL_ENCODING_BIN - Static variable in interface net.wimpi.modbus.Modbus
Defines the serial encoding "BIN".
SERIAL_ENCODING_RTU - Static variable in interface net.wimpi.modbus.Modbus
Defines the serial encoding "RTU".
SerialAITest - class net.wimpi.modbus.cmd.SerialAITest.
Class that implements a simple commandline tool for reading an analog input.
SerialAITest() - Constructor for class net.wimpi.modbus.cmd.SerialAITest
 
SerialConnection - class net.wimpi.modbus.net.SerialConnection.
Class that implements a serial connection which can be used for master and slave implementations.
SerialConnection(SerialParameters) - Constructor for class net.wimpi.modbus.net.SerialConnection
Creates a SerialConnection object and initilizes variables passed in as params.
SerialDITest - class net.wimpi.modbus.cmd.SerialDITest.
Class that implements a simple commandline tool for reading an analog input.
SerialDITest() - Constructor for class net.wimpi.modbus.cmd.SerialDITest
 
SerialFacadeTest - class net.wimpi.modbus.cmd.SerialFacadeTest.
 
SerialFacadeTest() - Constructor for class net.wimpi.modbus.cmd.SerialFacadeTest
 
SerialParameters - class net.wimpi.modbus.util.SerialParameters.
Helper class wrapping all serial port communication parameters.
SerialParameters() - Constructor for class net.wimpi.modbus.util.SerialParameters
Constructs a new SerialParameters instance with default values.
SerialParameters(String, int, int, int, int, int, int, boolean) - Constructor for class net.wimpi.modbus.util.SerialParameters
Constructs a new SerialParameters instance with given parameters.
SerialParameters(Properties, String) - Constructor for class net.wimpi.modbus.util.SerialParameters
Constructs a new SerialParameters instance with parameters obtained from a Properties instance.
SerialSlaveTest - class net.wimpi.modbus.cmd.SerialSlaveTest.
Class implementing a simple Modbus slave.
SerialSlaveTest() - Constructor for class net.wimpi.modbus.cmd.SerialSlaveTest
 
SimpleDigitalIn - class net.wimpi.modbus.procimg.SimpleDigitalIn.
Class implementing a simple DigitalIn.
SimpleDigitalIn() - Constructor for class net.wimpi.modbus.procimg.SimpleDigitalIn
Constructs a new SimpleDigitalIn instance.
SimpleDigitalIn(boolean) - Constructor for class net.wimpi.modbus.procimg.SimpleDigitalIn
Constructs a new SimpleDigitalIn instance with a given valid state.
SimpleDigitalOut - class net.wimpi.modbus.procimg.SimpleDigitalOut.
Class implementing a simple DigitalOut.
SimpleDigitalOut() - Constructor for class net.wimpi.modbus.procimg.SimpleDigitalOut
Constructs a new SimpleDigitalOut instance.
SimpleDigitalOut(boolean) - Constructor for class net.wimpi.modbus.procimg.SimpleDigitalOut
Constructs a new SimpleDigitalOut instance with the given state.
SimpleInputRegister - class net.wimpi.modbus.procimg.SimpleInputRegister.
Class implementing a simple InputRegister.
SimpleInputRegister() - Constructor for class net.wimpi.modbus.procimg.SimpleInputRegister
Constructs a new SimpleInputRegister instance.
SimpleInputRegister(byte, byte) - Constructor for class net.wimpi.modbus.procimg.SimpleInputRegister
Constructs a new SimpleInputRegister instance.
SimpleInputRegister(int) - Constructor for class net.wimpi.modbus.procimg.SimpleInputRegister
Constructs a new SimpleInputRegister instance with the given value.
SimpleProcessImage - class net.wimpi.modbus.procimg.SimpleProcessImage.
Class implementing a simple process image to be able to run unit tests or handle simple cases.
SimpleProcessImage() - Constructor for class net.wimpi.modbus.procimg.SimpleProcessImage
Constructs a new SimpleProcessImage instance.
SimpleRegister - class net.wimpi.modbus.procimg.SimpleRegister.
Class implementing a simple Register.
SimpleRegister() - Constructor for class net.wimpi.modbus.procimg.SimpleRegister
Constructs a new SimpleRegister instance.
SimpleRegister(byte, byte) - Constructor for class net.wimpi.modbus.procimg.SimpleRegister
Constructs a new SimpleRegister instance.
SimpleRegister(int) - Constructor for class net.wimpi.modbus.procimg.SimpleRegister
Constructs a new SimpleRegister instance with the given value.
SynchronizedAbstractRegister - class net.wimpi.modbus.procimg.SynchronizedAbstractRegister.
Abstract class with synchronized register operations.
SynchronizedAbstractRegister() - Constructor for class net.wimpi.modbus.procimg.SynchronizedAbstractRegister
 
sendMessage(byte[]) - Method in interface net.wimpi.modbus.net.UDPTerminal
Sends the given message.
serialEvent(SerialPortEvent) - Method in class net.wimpi.modbus.net.SerialConnection
 
set(boolean) - Method in interface net.wimpi.modbus.procimg.DigitalOut
Sets the state of this DigitalOut.
set(boolean) - Method in class net.wimpi.modbus.procimg.ObservableDigitalOut
 
set(boolean) - Method in class net.wimpi.modbus.procimg.SimpleDigitalIn
Sets the state of this SimpleDigitalIn.
set(boolean) - Method in class net.wimpi.modbus.procimg.SimpleDigitalOut
 
setAddress(InetAddress) - Method in class net.wimpi.modbus.net.ModbusTCPListener
Sets the address of the interface to be listened to.
setAddress(InetAddress) - Method in class net.wimpi.modbus.net.TCPMasterConnection
Sets the destination InetAddress of this TCPMasterConnection.
setAddress(InetAddress) - Method in class net.wimpi.modbus.net.UDPMasterConnection
Sets the destination InetAddress of this UDPMasterConnection.
setBaudRate(int) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the baud rate.
setBaudRate(String) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the baud rate.
setBit(int, boolean) - Method in class net.wimpi.modbus.util.BitVector
Sets the state of the bit at the given index of this BitVector.
setBitCount(int) - Method in class net.wimpi.modbus.msg.ReadCoilsRequest
Sets the number of bits (i.e. coils) to be read with this ReadCoilsRequest.
setBitCount(int) - Method in class net.wimpi.modbus.msg.ReadInputDiscretesRequest
Sets the number of bits (i.e. input discretes) to be read with this ReadInputDiscretesRequest.
setBitCount(int) - Method in class net.wimpi.modbus.msg.ReadInputDiscretesResponse
Sets the number of bits in this response.
setBitCount(int) - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsResponse
Sets the number of bits (i.e. coils) that will be in a response.
setBytes(byte[]) - Method in class net.wimpi.modbus.util.BitVector
Sets the byte[] which stores the bits of this BitVector.
setBytes(byte[], int) - Method in class net.wimpi.modbus.util.BitVector
Sets the byte[] which stores the bits of this BitVector.
setCheckingValidity(boolean) - Method in class net.wimpi.modbus.io.ModbusSerialTransaction
 
setCheckingValidity(boolean) - Method in class net.wimpi.modbus.io.ModbusTCPTransaction
 
setCheckingValidity(boolean) - Method in interface net.wimpi.modbus.io.ModbusTransaction
Sets the flag that controls whether the validity of a transaction will be checked.
setCheckingValidity(boolean) - Method in class net.wimpi.modbus.io.ModbusUDPTransaction
 
setCoil(boolean) - Method in class net.wimpi.modbus.msg.WriteCoilRequest
Sets the state that should be written with this WriteCoilRequest.
setCoilStatus(int, boolean) - Method in class net.wimpi.modbus.msg.ReadCoilsResponse
Sets the status of the given coil.
setCoilStatus(int, boolean) - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
Sets the coil status of the given coil.
setCoils(BitVector) - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
Sets the BitVector instance holding coil status information.
setCommPort(CommPort) - Method in class net.wimpi.modbus.io.ModbusSerialTransport
setCommPort sets the comm port member and prepares the input and output streams to be used for reading from and writing to.
setConnection(TCPMasterConnection) - Method in class net.wimpi.modbus.io.ModbusTCPTransaction
Sets the connection on which this ModbusTransaction should be executed.
setConnection(TCPSlaveConnection) - Method in class net.wimpi.modbus.net.TCPConnectionHandler
Sets a connection to be handled by this TCPConnectionHandler.
setConnectionParameters() - Method in class net.wimpi.modbus.net.SerialConnection
Sets the connection parameters to the setting in the parameters object.
setDataLength(int) - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
Sets the length of the data appended after the protocol header.
setDatabits(int) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the number of data bits.
setDatabits(String) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the number of data bits from the given String.
setDigitalIn(int, DigitalIn) - Method in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Sets a new DigitalIn instance at the given reference.
setDigitalIn(int, DigitalIn) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
setDigitalOut(int, DigitalOut) - Method in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Sets a new DigitalOut instance at the given reference.
setDigitalOut(int, DigitalOut) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
setDiscreteStatus(int, boolean) - Method in class net.wimpi.modbus.msg.ReadInputDiscretesResponse
Sets the status of the given input discrete.
setEOF(boolean) - Method in class net.wimpi.modbus.ModbusIOException
Sets the flag that determines whether this ModbusIOException was caused by an end of the stream.
setEcho(boolean) - Method in class net.wimpi.modbus.io.ModbusSerialTransport
setEcho method sets the output echo state.
setEcho(boolean) - Method in class net.wimpi.modbus.util.SerialParameters
Set the Echo value.
setEncoding(String) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the encoding to be used.
setFlowControlIn(int) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the type of flow control for the input as given by the passed in int.
setFlowControlIn(String) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the type of flow control for the input as given by the passed in String.
setFlowControlOut(int) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the output flow control type as given by the passed in int.
setFlowControlOut(String) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the output flow control type as given by the passed in String.
setFunctionCode(int) - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
Sets the function code of this ModbusMessage.
setHeadless() - Method in interface net.wimpi.modbus.msg.ModbusMessage
Sets the flag that marks this ModbusMessage as headless (for serial transport).
setHeadless() - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
 
setHeadless(boolean) - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
Sets the headless flag of this message.
setInputRegister(int, InputRegister) - Method in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Sets a new InputRegister instance at the given reference.
setInputRegister(int, InputRegister) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
setListening(boolean) - Method in class net.wimpi.modbus.net.ModbusSerialListener
Sets the listening flag of this ModbusTCPListener.
setLocked(boolean) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
setMaster(boolean) - Method in class net.wimpi.modbus.ModbusCoupler
Sets this instance to be or not to be a master device.
setMessage(byte[]) - Method in class net.wimpi.modbus.msg.ModbusResponse
Utility method to set the raw data of the message.
setNonWordDataHandler(NonWordDataHandler) - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
Sets a non word data handler.
setParity(int) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the parity schema.
setParity(String) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the parity schema from the given String.
setPort(int) - Method in class net.wimpi.modbus.net.ModbusTCPListener
Sets the port to be listened to.
setPort(int) - Method in class net.wimpi.modbus.net.ModbusUDPListener
Sets the number of the port this ModbusUDPListener is listening to.
setPort(int) - Method in class net.wimpi.modbus.net.TCPMasterConnection
Sets the destination port of this TCPMasterConnection.
setPort(int) - Method in class net.wimpi.modbus.net.UDPMasterConnection
Sets the destination port of this UDPMasterConnection.
setPortName(String) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the port name.
setProcessImage(ProcessImage) - Method in class net.wimpi.modbus.ModbusCoupler
Sets the reference to the ProcessImage of this ModbusCoupler.
setProcessImageFactory(ProcessImageFactory) - Method in class net.wimpi.modbus.ModbusCoupler
Sets the ProcessImageFactory instance.
setProtocolID(int) - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
Sets the protocol identifier of this ModbusMessage.
setReceiveThreshold(int) - Method in class net.wimpi.modbus.io.ModbusSerialTransport
Describe setReceiveThreshold method here.
setReceiveTimeout(int) - Method in class net.wimpi.modbus.io.ModbusSerialTransport
Describe setReceiveTimeout method here.
setReconnecting(boolean) - Method in class net.wimpi.modbus.facade.ModbusTCPMaster
Sets the flag that specifies whether to maintain a constant connection or reconnect for every transaction.
setReconnecting(boolean) - Method in class net.wimpi.modbus.io.ModbusTCPTransaction
Sets the flag that controls whether a connection is openend and closed for each execution or not.
setReference(int) - Method in class net.wimpi.modbus.msg.ReadCoilsRequest
Sets the reference of the register to start reading from with this ReadCoilsRequest.
setReference(int) - Method in class net.wimpi.modbus.msg.ReadInputDiscretesRequest
Sets the reference of the register to start reading from with this ReadInputDiscretesRequest.
setReference(int) - Method in class net.wimpi.modbus.msg.ReadInputRegistersRequest
Sets the reference of the register to start reading from with this ReadInputRegistersRequest.
setReference(int) - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersRequest
Sets the reference of the register to start reading from with this ReadMultipleRegistersRequest.
setReference(int) - Method in class net.wimpi.modbus.msg.WriteCoilRequest
Sets the reference of the register of the coil that should be written to with this ReadCoilsRequest.
setReference(int) - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
Sets the reference of the register to start reading from with this ReadCoilsRequest.
setReference(int) - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
Sets the reference of the register to writing to with this WriteMultipleRegistersRequest.
setReference(int) - Method in class net.wimpi.modbus.msg.WriteSingleRegisterRequest
Sets the reference of the register to be written to with this WriteSingleRegisterRequest.
setRegister(Register) - Method in class net.wimpi.modbus.msg.WriteSingleRegisterRequest
Sets the value that should be written to the register with this WriteSingleRegisterRequest.
setRegister(int, Register) - Method in interface net.wimpi.modbus.procimg.ProcessImageImplementation
Sets a new Register instance at the given reference.
setRegister(int, Register) - Method in class net.wimpi.modbus.procimg.SimpleProcessImage
 
setRegisters(Register[]) - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
Sets the registers to be written with this WriteMultipleRegistersRequest.
setRequest(ModbusRequest) - Method in class net.wimpi.modbus.io.ModbusSerialTransaction
 
setRequest(ModbusRequest) - Method in class net.wimpi.modbus.io.ModbusTCPTransaction
 
setRequest(ModbusRequest) - Method in interface net.wimpi.modbus.io.ModbusTransaction
Sets the ModbusRequest for this ModbusTransaction.
setRequest(ModbusRequest) - Method in class net.wimpi.modbus.io.ModbusUDPTransaction
 
setRetries(int) - Method in class net.wimpi.modbus.io.ModbusSerialTransaction
 
setRetries(int) - Method in class net.wimpi.modbus.io.ModbusTCPTransaction
 
setRetries(int) - Method in interface net.wimpi.modbus.io.ModbusTransaction
Set the amount of retries for opening the connection for executing the transaction.
setRetries(int) - Method in class net.wimpi.modbus.io.ModbusUDPTransaction
 
setSerialConnection(SerialConnection) - Method in class net.wimpi.modbus.io.ModbusSerialTransaction
Sets the port on which this ModbusTransaction should be executed.
setSocket(Socket) - Method in class net.wimpi.modbus.io.ModbusTCPTransport
Sets the Socket used for message transport and prepares the streams used for the actual I/O.
setStopbits(int) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the number of stop bits.
setStopbits(String) - Method in class net.wimpi.modbus.util.SerialParameters
Sets the number of stop bits from the given String.
setTerminal(UDPTerminal) - Method in class net.wimpi.modbus.io.ModbusUDPTransaction
Sets the terminal on which this ModbusTransaction should be executed.
setTimeout(int) - Method in class net.wimpi.modbus.net.TCPMasterConnection
Sets the timeout for this TCPMasterConnection.
setTimeout(int) - Method in class net.wimpi.modbus.net.TCPSlaveConnection
Sets the timeout for this TCPSlaveConnection.
setTimeout(int) - Method in class net.wimpi.modbus.net.UDPMasterConnection
Sets the timeout for this UDPMasterConnection.
setTransDelayMS(int) - Method in class net.wimpi.modbus.io.ModbusSerialTransaction
Set the TransDelayMS value.
setTransactionID(int) - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
Sets the transaction identifier of this ModbusMessage.
setUnitID(int) - Method in class net.wimpi.modbus.ModbusCoupler
Sets the identifier of this unit, which is needed to be determined in a serial network.
setUnitID(int) - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
Sets the unit identifier of this ModbusMessage.
setUnitIdentifier(int) - Method in class net.wimpi.modbus.facade.ModbusSerialMaster
Sets the unit identifier of this ModbusSerialMaster.
setValue(int) - Method in class net.wimpi.modbus.procimg.AbstractRegister
 
setValue(short) - Method in class net.wimpi.modbus.procimg.AbstractRegister
 
setValue(byte[]) - Method in class net.wimpi.modbus.procimg.AbstractRegister
 
setValue(int) - Method in class net.wimpi.modbus.procimg.ObservableRegister
 
setValue(short) - Method in class net.wimpi.modbus.procimg.ObservableRegister
 
setValue(byte[]) - Method in class net.wimpi.modbus.procimg.ObservableRegister
 
setValue(int) - Method in interface net.wimpi.modbus.procimg.Register
Sets the content of this Register from the given unsigned 16-bit value (unsigned short).
setValue(short) - Method in interface net.wimpi.modbus.procimg.Register
Sets the content of this register from the given signed 16-bit value (short).
setValue(byte[]) - Method in interface net.wimpi.modbus.procimg.Register
Sets the content of this register from the given raw bytes.
setValue(int) - Method in class net.wimpi.modbus.procimg.SynchronizedAbstractRegister
 
setValue(short) - Method in class net.wimpi.modbus.procimg.SynchronizedAbstractRegister
 
setValue(byte[]) - Method in class net.wimpi.modbus.procimg.SynchronizedAbstractRegister
 
setWordCount(int) - Method in class net.wimpi.modbus.msg.ReadInputRegistersRequest
Sets the number of words to be read with this ReadInputRegistersRequest.
setWordCount(int) - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersRequest
Sets the number of words to be read with this ReadMultipleRegistersRequest.
shortToRegister(short) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts the given short into a register (2 bytes).
size() - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
Returns the number of bytes written to this FastByteArrayOutputStream.
size() - Method in class net.wimpi.modbus.util.BitVector
Returns the number of bits in this BitVector as int.
skip(int) - Method in class net.wimpi.modbus.io.BytesInputStream
Skips the given number of bytes or all bytes till the end of the assigned input buffer length.
skip(long) - Method in class net.wimpi.modbus.io.FastByteArrayInputStream
 
skipBytes(int) - Method in class net.wimpi.modbus.io.BytesInputStream
 
start() - Method in class net.wimpi.modbus.net.ModbusTCPListener
Starts this ModbusTCPListener.
start() - Method in class net.wimpi.modbus.net.ModbusUDPListener
Starts this ModbusUDPListener.
stop() - Method in class net.wimpi.modbus.net.ModbusTCPListener
Stops this ModbusTCPListener.
stop() - Method in class net.wimpi.modbus.net.ModbusUDPListener
Stops this ModbusUDPListener.

T

TCPConnectionHandler - class net.wimpi.modbus.net.TCPConnectionHandler.
Class implementing a handler for incoming Modbus/TCP requests.
TCPConnectionHandler(TCPSlaveConnection) - Constructor for class net.wimpi.modbus.net.TCPConnectionHandler
Constructs a new TCPConnectionHandler instance.
TCPMasterConnection - class net.wimpi.modbus.net.TCPMasterConnection.
Class that implements a TCPMasterConnection.
TCPMasterConnection(InetAddress) - Constructor for class net.wimpi.modbus.net.TCPMasterConnection
Constructs a TCPMasterConnection instance with a given destination address.
TCPSlaveConnection - class net.wimpi.modbus.net.TCPSlaveConnection.
Class that implements a TCPSlaveConnection.
TCPSlaveConnection(Socket) - Constructor for class net.wimpi.modbus.net.TCPSlaveConnection
Constructs a TCPSlaveConnection instance using a given socket instance.
TCPSlaveTest - class net.wimpi.modbus.cmd.TCPSlaveTest.
Class implementing a simple Modbus/TCP slave.
TCPSlaveTest() - Constructor for class net.wimpi.modbus.cmd.TCPSlaveTest
 
ThreadPool - class net.wimpi.modbus.util.ThreadPool.
Class implementing a simple thread pool.
ThreadPool(int) - Constructor for class net.wimpi.modbus.util.ThreadPool
Constructs a new ThreadPool instance.
Transportable - interface net.wimpi.modbus.io.Transportable.
Interface defining a transportable class.
take() - Method in class net.wimpi.modbus.util.LinkedQueue
 
toByteArray() - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
Returns the written bytes in a newly allocated byte[] of length getSize().
toByteArray(byte[], int) - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
Copy the buffered data to the given array.
toBytes() - Method in class net.wimpi.modbus.procimg.AbstractRegister
 
toBytes() - Method in interface net.wimpi.modbus.procimg.InputRegister
Returns the content of this Register as bytes.
toBytes() - Method in class net.wimpi.modbus.procimg.ObservableRegister
 
toBytes() - Method in class net.wimpi.modbus.procimg.SynchronizedAbstractRegister
 
toHex(ModbusMessage) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts a ModbusMessage instance into a hex encoded string representation.
toHex(byte[]) - Static method in class net.wimpi.modbus.util.ModbusUtil
Returns the given byte[] as hex encoded string.
toHex(byte[], int, int) - Static method in class net.wimpi.modbus.util.ModbusUtil
Returns a String containing unsigned hexadecimal numbers as digits.
toHex(int) - Static method in class net.wimpi.modbus.util.ModbusUtil
Returns a byte[] containing the given byte as unsigned hexadecimal number digits.
toShort() - Method in class net.wimpi.modbus.procimg.AbstractRegister
 
toShort() - Method in interface net.wimpi.modbus.procimg.InputRegister
Returns the content of this Register as signed 16-bit value (short).
toShort() - Method in class net.wimpi.modbus.procimg.ObservableRegister
 
toShort() - Method in class net.wimpi.modbus.procimg.SynchronizedAbstractRegister
 
toString() - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
 
toString(String) - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
Returns the content of this FastByteArrayOutputStream as String.
toString() - Method in class net.wimpi.modbus.util.BitVector
Returns a String representing the contents of the bit collection in a way that can be printed to a screen or log.
toUnsignedShort() - Method in class net.wimpi.modbus.procimg.AbstractRegister
 
toUnsignedShort() - Method in interface net.wimpi.modbus.procimg.InputRegister
Returns the content of this Register as unsigned 16-bit value (unsigned short).
toUnsignedShort() - Method in class net.wimpi.modbus.procimg.ObservableRegister
 
toUnsignedShort() - Method in class net.wimpi.modbus.procimg.SynchronizedAbstractRegister
 
toggleAccess(boolean) - Method in class net.wimpi.modbus.util.BitVector
Toggles the flag deciding whether the LSB or the MSB of the byte corresponds to the first bit (index=0).

U

UDPDITest - class net.wimpi.modbus.cmd.UDPDITest.
Class that implements a simple commandline tool for reading a digital input.
UDPDITest() - Constructor for class net.wimpi.modbus.cmd.UDPDITest
 
UDPDOTest - class net.wimpi.modbus.cmd.UDPDOTest.
Class that implements a simple commandline tool for writing to a digital output.
UDPDOTest() - Constructor for class net.wimpi.modbus.cmd.UDPDOTest
 
UDPMasterConnection - class net.wimpi.modbus.net.UDPMasterConnection.
Class that implements a UDPMasterConnection.
UDPMasterConnection(InetAddress) - Constructor for class net.wimpi.modbus.net.UDPMasterConnection
Constructs a UDPMasterConnection instance with a given destination address.
UDPSlaveTest - class net.wimpi.modbus.cmd.UDPSlaveTest.
Class implementing a simple Modbus/UDP slave.
UDPSlaveTest() - Constructor for class net.wimpi.modbus.cmd.UDPSlaveTest
 
UDPTerminal - interface net.wimpi.modbus.net.UDPTerminal.
Interface defining a UDPTerminal.
unsignedByteToInt(byte) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts an unsigned byte to an integer.
unsignedShortToRegister(int) - Static method in class net.wimpi.modbus.util.ModbusUtil
Converts the given unsigned short into a register (2 bytes).
update(Observable, Object) - Method in interface net.wimpi.modbus.util.Observer
Updates the state of this Observer to be in synch with an Observable instance.

W

WRITE_COIL - Static variable in interface net.wimpi.modbus.Modbus
Defines a class 1 function code for write coil.
WRITE_MULTIPLE_COILS - Static variable in interface net.wimpi.modbus.Modbus
Defines a standard function code for write multiple coils.
WRITE_MULTIPLE_REGISTERS - Static variable in interface net.wimpi.modbus.Modbus
Defines the class 0 function code for write multiple registers.
WRITE_SINGLE_REGISTER - Static variable in interface net.wimpi.modbus.Modbus
Defines a class 1 function code for write single register.
WriteCoilRequest - class net.wimpi.modbus.msg.WriteCoilRequest.
Class implementing a WriteCoilRequest.
WriteCoilRequest() - Constructor for class net.wimpi.modbus.msg.WriteCoilRequest
Constructs a new WriteCoilRequest instance.
WriteCoilRequest(int, boolean) - Constructor for class net.wimpi.modbus.msg.WriteCoilRequest
Constructs a new WriteCoilRequest instance with a given reference and state to be written.
WriteCoilResponse - class net.wimpi.modbus.msg.WriteCoilResponse.
Class implementing a WriteCoilResponse.
WriteCoilResponse() - Constructor for class net.wimpi.modbus.msg.WriteCoilResponse
Constructs a new WriteCoilResponse instance.
WriteCoilResponse(int, boolean) - Constructor for class net.wimpi.modbus.msg.WriteCoilResponse
Constructs a new WriteCoilResponse instance.
WriteMultipleCoilsRequest - class net.wimpi.modbus.msg.WriteMultipleCoilsRequest.
Class implementing a WriteMultipleCoilsRequest.
WriteMultipleCoilsRequest() - Constructor for class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
Constructs a new ReadCoilsRequest instance.
WriteMultipleCoilsRequest(int, int) - Constructor for class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
Constructs a new WriteMultipleCoilsRequest instance with a given reference and count of coils (i.e. bits) to be written.
WriteMultipleCoilsRequest(int, BitVector) - Constructor for class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
Constructs a new WriteMultipleCoilsRequest instance with given reference and coil status.
WriteMultipleCoilsResponse - class net.wimpi.modbus.msg.WriteMultipleCoilsResponse.
Class implementing a WriteMultipleCoilsResponse.
WriteMultipleCoilsResponse() - Constructor for class net.wimpi.modbus.msg.WriteMultipleCoilsResponse
Constructs a new ReadCoilsResponse instance.
WriteMultipleCoilsResponse(int, int) - Constructor for class net.wimpi.modbus.msg.WriteMultipleCoilsResponse
Constructs a new ReadCoilsResponse instance with a given count of coils (i.e. bits).
WriteMultipleRegistersRequest - class net.wimpi.modbus.msg.WriteMultipleRegistersRequest.
Class implementing a ReadMultipleRegistersRequest.
WriteMultipleRegistersRequest() - Constructor for class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
Constructs a new WriteMultipleRegistersRequest instance.
WriteMultipleRegistersRequest(int, Register[]) - Constructor for class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
Constructs a new WriteMultipleRegistersRequest instance with a given reference and values to be written.
WriteMultipleRegistersResponse - class net.wimpi.modbus.msg.WriteMultipleRegistersResponse.
Class implementing a WriteMultipleRegistersResponse.
WriteMultipleRegistersResponse() - Constructor for class net.wimpi.modbus.msg.WriteMultipleRegistersResponse
Constructs a new WriteMultipleRegistersResponse instance.
WriteMultipleRegistersResponse(int, int) - Constructor for class net.wimpi.modbus.msg.WriteMultipleRegistersResponse
Constructs a new WriteMultipleRegistersResponse instance.
WriteSingleRegisterRequest - class net.wimpi.modbus.msg.WriteSingleRegisterRequest.
Class implementing a WriteSingleRegisterRequest.
WriteSingleRegisterRequest() - Constructor for class net.wimpi.modbus.msg.WriteSingleRegisterRequest
Constructs a new WriteSingleRegisterRequest instance.
WriteSingleRegisterRequest(int, Register) - Constructor for class net.wimpi.modbus.msg.WriteSingleRegisterRequest
Constructs a new WriteSingleRegisterRequest instance with a given reference and value to be written.
WriteSingleRegisterResponse - class net.wimpi.modbus.msg.WriteSingleRegisterResponse.
Class implementing a WriteSingleRegisterResponse.
WriteSingleRegisterResponse() - Constructor for class net.wimpi.modbus.msg.WriteSingleRegisterResponse
Constructs a new WriteSingleRegisterResponse instance.
WriteSingleRegisterResponse(int, int) - Constructor for class net.wimpi.modbus.msg.WriteSingleRegisterResponse
Constructs a new WriteSingleRegisterResponse instance.
write(int) - Method in class net.wimpi.modbus.io.ASCIIOutputStream
Writes a byte encoded as two hexadecimal characters to the raw output stream.
write(byte[]) - Method in class net.wimpi.modbus.io.ASCIIOutputStream
Writes an array of bytes encoded as two hexadecimal characters to the raw output stream.
write(byte[], int, int) - Method in class net.wimpi.modbus.io.ASCIIOutputStream
Writes an array of bytes encoded as two hexadecimal characters to the raw output stream.
write(int) - Method in class net.wimpi.modbus.io.BINOutputStream
Writes a byte to the raw output stream.
write(byte[]) - Method in class net.wimpi.modbus.io.BINOutputStream
Writes an array of bytes to the raw output stream.
write(byte[], int, int) - Method in class net.wimpi.modbus.io.BINOutputStream
Writes an array of bytes to the raw output stream.
write(int) - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
 
write(byte[]) - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
 
write(byte[], int, int) - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
 
writeBoolean(boolean) - Method in class net.wimpi.modbus.io.BytesOutputStream
 
writeByte(int) - Method in class net.wimpi.modbus.io.BytesOutputStream
 
writeBytes(String) - Method in class net.wimpi.modbus.io.BytesOutputStream
 
writeChar(int) - Method in class net.wimpi.modbus.io.BytesOutputStream
 
writeChars(String) - Method in class net.wimpi.modbus.io.BytesOutputStream
 
writeCoil(int, int, boolean) - Method in class net.wimpi.modbus.facade.ModbusSerialMaster
Writes a coil state to the slave.
writeCoil(int, int, boolean) - Method in class net.wimpi.modbus.facade.ModbusTCPMaster
Writes a coil state to the slave.
writeCoil(int, int, boolean) - Method in class net.wimpi.modbus.facade.ModbusUDPMaster
Writes a coil state to the slave.
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.ExceptionResponse
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.IllegalFunctionRequest
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
Writes the subclass specific data to the given DataOutput.
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.ReadCoilsRequest
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.ReadCoilsResponse
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.ReadInputDiscretesRequest
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.ReadInputDiscretesResponse
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.ReadInputRegistersRequest
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.ReadInputRegistersResponse
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersRequest
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.ReadMultipleRegistersResponse
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.WriteCoilRequest
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.WriteCoilResponse
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsRequest
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.WriteMultipleCoilsResponse
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersRequest
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.WriteMultipleRegistersResponse
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.WriteSingleRegisterRequest
 
writeData(DataOutput) - Method in class net.wimpi.modbus.msg.WriteSingleRegisterResponse
 
writeDouble(double) - Method in class net.wimpi.modbus.io.BytesOutputStream
 
writeFloat(float) - Method in class net.wimpi.modbus.io.BytesOutputStream
 
writeInt(int) - Method in class net.wimpi.modbus.io.BytesOutputStream
 
writeLong(long) - Method in class net.wimpi.modbus.io.BytesOutputStream
 
writeMessage(ModbusMessage) - Method in class net.wimpi.modbus.io.ModbusASCIITransport
 
writeMessage(ModbusMessage) - Method in class net.wimpi.modbus.io.ModbusBINTransport
 
writeMessage(ModbusMessage) - Method in class net.wimpi.modbus.io.ModbusRTUTransport
 
writeMessage(ModbusMessage) - Method in class net.wimpi.modbus.io.ModbusSerialTransport
The writeMessage method writes a modbus serial message to its serial output stream to a specified slave unit ID.
writeMessage(ModbusMessage) - Method in class net.wimpi.modbus.io.ModbusTCPTransport
 
writeMessage(ModbusMessage) - Method in interface net.wimpi.modbus.io.ModbusTransport
Writes a to the output stream of this ModbusTransport.
writeMessage(ModbusMessage) - Method in class net.wimpi.modbus.io.ModbusUDPTransport
 
writeMultipleCoils(int, int, BitVector) - Method in class net.wimpi.modbus.facade.ModbusSerialMaster
Writes a given number of coil states to the slave.
writeMultipleCoils(int, BitVector) - Method in class net.wimpi.modbus.facade.ModbusTCPMaster
Writes a given number of coil states to the slave.
writeMultipleCoils(int, BitVector) - Method in class net.wimpi.modbus.facade.ModbusUDPMaster
Writes a given number of coil states to the slave.
writeMultipleRegisters(int, int, Register[]) - Method in class net.wimpi.modbus.facade.ModbusSerialMaster
Writes a number of registers to the slave.
writeMultipleRegisters(int, Register[]) - Method in class net.wimpi.modbus.facade.ModbusTCPMaster
Writes a number of registers to the slave.
writeMultipleRegisters(int, Register[]) - Method in class net.wimpi.modbus.facade.ModbusUDPMaster
Writes a number of registers to the slave.
writeShort(int) - Method in class net.wimpi.modbus.io.BytesOutputStream
 
writeSingleRegister(int, int, Register) - Method in class net.wimpi.modbus.facade.ModbusSerialMaster
Writes a single register to the slave.
writeSingleRegister(int, Register) - Method in class net.wimpi.modbus.facade.ModbusTCPMaster
Writes a single register to the slave.
writeSingleRegister(int, Register) - Method in class net.wimpi.modbus.facade.ModbusUDPMaster
Writes a single register to the slave.
writeTo(OutputStream) - Method in class net.wimpi.modbus.io.FastByteArrayOutputStream
Writes the content of this FastByteArrayOutputStream to the given output stream.
writeTo(DataOutput) - Method in interface net.wimpi.modbus.io.Transportable
Writes this Transportable to the given DataOutput.
writeTo(DataOutput) - Method in class net.wimpi.modbus.msg.ModbusMessageImpl
Writes this message to the given DataOutput.
writeUTF(String) - Method in class net.wimpi.modbus.io.BytesOutputStream
 

A B C D E F G H I L M N O P R S T U W
jamod at SF

Copyright © 2002-2004 jamod development team.