|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.wimpi.modbus.net.ModbusSerialListener
public class ModbusSerialListener
Class that implements a ModbusTCPListener.
If listening, it accepts incoming requests
passing them on to be handled.
Constructor Summary | |
---|---|
ModbusSerialListener(SerialParameters params)
Constructs a new ModbusSerialListener instance. |
Method Summary | |
---|---|
boolean |
isListening()
Tests if this ModbusTCPListener is listening and accepting incoming connections. |
void |
setListening(boolean b)
Sets the listening flag of this ModbusTCPListener. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModbusSerialListener(SerialParameters params)
params
- a SerialParameters instance.Method Detail |
---|
public void setListening(boolean b)
b
- true if listening (and accepting incoming connections),
false otherwise.public boolean isListening()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |