jamod at SF

net.wimpi.modbus.procimg
Interface ProcessImageFactory

All Known Implementing Classes:
DefaultProcessImageFactory

public interface ProcessImageFactory

Interface defining the factory methods for the process image and it's elements.

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

Method Summary
 DigitalIn createDigitalIn()
          Returns a new DigitalIn instance.
 DigitalIn createDigitalIn(boolean state)
          Returns a new DigitalIn instance with the given state.
 DigitalOut createDigitalOut()
          Returns a new DigitalOut instance.
 DigitalOut createDigitalOut(boolean b)
          Returns a new DigitalOut instance with the given state.
 InputRegister createInputRegister()
          Returns a new InputRegister instance.
 InputRegister createInputRegister(byte b1, byte b2)
          Returns a new InputRegister instance with a given value.
 ProcessImageImplementation createProcessImageImplementation()
          Returns a new ProcessImageImplementation instance.
 Register createRegister()
          Creates a new Register instance.
 Register createRegister(byte b1, byte b2)
          Returns a new Register instance with a given value.
 

Method Detail

createProcessImageImplementation

public ProcessImageImplementation createProcessImageImplementation()
Returns a new ProcessImageImplementation instance.

Returns:
a ProcessImageImplementation instance.

createDigitalIn

public DigitalIn createDigitalIn()
Returns a new DigitalIn instance.

Returns:
a DigitalIn instance.

createDigitalIn

public DigitalIn createDigitalIn(boolean state)
Returns a new DigitalIn instance with the given state.

Parameters:
state - true if set, false otherwise.
Returns:
a DigitalIn instance.

createDigitalOut

public DigitalOut createDigitalOut()
Returns a new DigitalOut instance.

Returns:
a DigitalOut instance.

createDigitalOut

public DigitalOut createDigitalOut(boolean b)
Returns a new DigitalOut instance with the given state.

Parameters:
b - true if set, false otherwise.
Returns:
a DigitalOut instance.

createInputRegister

public InputRegister createInputRegister()
Returns a new InputRegister instance.

Returns:
an InputRegister instance.

createInputRegister

public InputRegister createInputRegister(byte b1,
                                         byte b2)
Returns a new InputRegister instance with a given value.

Parameters:
b1 - the first byte.
b2 - the second byte.
Returns:
an InputRegister instance.

createRegister

public Register createRegister()
Creates a new Register instance.

Returns:
a Register instance.

createRegister

public Register createRegister(byte b1,
                               byte b2)
Returns a new Register instance with a given value.

Parameters:
b1 - the first byte.
b2 - the second byte.
Returns:
a Register instance.

jamod at SF

Copyright © 2002-2004 jamod development team.