jamod at SF

net.wimpi.modbus.net
Class ModbusSerialListener

java.lang.Object
  extended bynet.wimpi.modbus.net.ModbusSerialListener

public class ModbusSerialListener
extends java.lang.Object

Class that implements a ModbusTCPListener.
If listening, it accepts incoming requests passing them on to be handled.

Version:
1.2rc1 (09/11/2004)
Author:
Dieter Wimberger

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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModbusSerialListener

public ModbusSerialListener(SerialParameters params)
Constructs a new ModbusSerialListener instance.

Parameters:
params - a SerialParameters instance.
Method Detail

setListening

public void setListening(boolean b)
Sets the listening flag of this ModbusTCPListener.

Parameters:
b - true if listening (and accepting incoming connections), false otherwise.

isListening

public boolean isListening()
Tests if this ModbusTCPListener is listening and accepting incoming connections.

Returns:
true if listening (and accepting incoming connections), false otherwise.

jamod at SF

Copyright © 2002-2004 jamod development team.