|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.wimpi.modbus.procimg.DefaultProcessImageFactory
public class DefaultProcessImageFactory
The default ProcessImageFactory.
Constructor Summary | |
---|---|
DefaultProcessImageFactory()
|
Method Summary | |
---|---|
DigitalIn |
createDigitalIn()
Returns a new SimpleDigitalIn instance. |
DigitalIn |
createDigitalIn(boolean state)
Returns a new DigitalIn instance with the given state. |
DigitalOut |
createDigitalOut()
Returns a new SimpleDigitalOut instance. |
DigitalOut |
createDigitalOut(boolean b)
Returns a new DigitalOut instance with the given state. |
InputRegister |
createInputRegister()
Returns a new SimpleInputRegister instance. |
InputRegister |
createInputRegister(byte b1,
byte b2)
Returns a new InputRegister instance with a given value. |
ProcessImageImplementation |
createProcessImageImplementation()
Returns a new SimpleProcessImage instance. |
Register |
createRegister()
Creates a new SimpleRegister instance. |
Register |
createRegister(byte b1,
byte b2)
Returns a new Register instance with a given value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultProcessImageFactory()
Method Detail |
---|
public ProcessImageImplementation createProcessImageImplementation()
createProcessImageImplementation
in interface ProcessImageFactory
public DigitalIn createDigitalIn()
createDigitalIn
in interface ProcessImageFactory
public DigitalIn createDigitalIn(boolean state)
createDigitalIn
in interface ProcessImageFactory
state
- true if set, false otherwise.
public DigitalOut createDigitalOut()
createDigitalOut
in interface ProcessImageFactory
public DigitalOut createDigitalOut(boolean b)
createDigitalOut
in interface ProcessImageFactory
b
- true if set, false otherwise.
public InputRegister createInputRegister()
createInputRegister
in interface ProcessImageFactory
public InputRegister createInputRegister(byte b1, byte b2)
createInputRegister
in interface ProcessImageFactory
b1
- the first byte.b2
- the second byte.
public Register createRegister()
createRegister
in interface ProcessImageFactory
public Register createRegister(byte b1, byte b2)
createRegister
in interface ProcessImageFactory
b1
- the first byte.b2
- the second byte.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |