|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.wimpi.modbus.net.ModbusUDPListener
public class ModbusUDPListener
Class that implements a ModbusUDPListener.
| Constructor Summary | |
|---|---|
ModbusUDPListener()
Constructs a new ModbusUDPListener instance. |
|
ModbusUDPListener(InetAddress ifc)
Create a new ModbusUDPListener instance listening to the given interface address. |
|
| Method Summary | |
|---|---|
int |
getPort()
Returns the number of the port this ModbusUDPListener is listening to. |
boolean |
isListening()
Tests if this ModbusTCPListener is listening and accepting incoming connections. |
void |
setPort(int port)
Sets the number of the port this ModbusUDPListener is listening to. |
void |
start()
Starts this ModbusUDPListener. |
void |
stop()
Stops this ModbusUDPListener. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModbusUDPListener()
public ModbusUDPListener(InetAddress ifc)
ifc - an InetAddress instance.| Method Detail |
|---|
public int getPort()
public void setPort(int port)
port - the number of the IP port as int.public void start()
public void stop()
public boolean isListening()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||