|
2010-01-22 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectConnectionTransport
org.eclipse.soda.dk.arcom.io.transport.ArcomIoTransport
public class ArcomIoTransport
Arcom IO AIM104 Relay 8in8 board.
The Device Kit properties CONNECTION_KEYS and default values.
| arcomiotransport.mode | rw |
| arcomiotransport.path | 0 |
| arcomiotransport.name | /dev/arcom/aim104/relay8 |
| arcomiotransport.connection | randomaccessfile |
| arcomiotransport.pollingRate | 250 |
The list of exported services:
ArcomIoTransportService,
org.eclipse.soda.dk.transport.service.TransportService| Field Summary | |
|---|---|
static int |
BUFFER_SIZE
Define the buffer size (int) constant. |
static java.lang.String |
CLASS_NAME
Defines the full class name. |
| Fields inherited from interface org.eclipse.soda.dk.arcom.io.transport.service.ArcomIoTransportService |
|---|
FACTORY_SERVICE_NAME, MANAGED_SERVICE_NAME, POLLING_RATE, POLLING_RATE_DEFAULT, POLLING_RATE_PROPERTY, RANDOMACCESSFILE_MODE_DEFAULT, RANDOMACCESSFILE_MODE_PROPERTY, RANDOMACCESSFILE_NAME_DEFAULT, RANDOMACCESSFILE_NAME_PROPERTY, RANDOMACCESSFILE_PATH_DEFAULT, RANDOMACCESSFILE_PATH_PROPERTY, SERVICE_NAME |
| Constructor Summary | |
|---|---|
ArcomIoTransport()
Constructs a new instance of the ArcomIoTransport class. |
|
| Method Summary | |
|---|---|
int |
getBufferSize()
Gets the buffer size (int) value. |
ConnectionService |
getDefaultConnection()
Gets the default connection. |
RandomAccessFileConnectionService |
getDefaultRandomAccessFileConnection()
Gets the default randomaccessfile connection. |
int |
getPollingRate()
Gets the value of polling rate custom parameter. |
protected int |
processInput(byte[] bytes,
int length)
Perform the processInput action method. |
void |
setPollingRate(int pollingRate)
Sets the value of polling rate custom parameter. |
void |
setup()
Sets user-defined variables to use in the test. |
int |
startup(boolean output)
Startup with the specified output parameter and return the int result. |
void |
write(byte[] sendBytes)
Write with the specified send bytes parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
public static final int BUFFER_SIZE
| Constructor Detail |
|---|
public ArcomIoTransport()
| Method Detail |
|---|
public int getBufferSize()
int) value.
protected int processInput(byte[] bytes,
int length)
throws java.lang.Exception
bytes - byte[]length - int
int) value.
java.lang.Exception - Exception.
public int startup(boolean output)
throws java.lang.Exception
output - The output (boolean) parameter.
int) value.
java.lang.Exception - Exception.
public void write(byte[] sendBytes)
throws java.lang.Exception
sendBytes - The send bytes (byte[]) parameter.
java.lang.Exception - Exception.public ConnectionService getDefaultConnection()
public RandomAccessFileConnectionService getDefaultRandomAccessFileConnection()
public int getPollingRate()
setPollingRate(int)public void setPollingRate(int pollingRate)
pollingRate - The polling rate custom parameter.getPollingRate()public void setup()
User defined properties and default values.
| arcomiotransport.pollingRate | 250 |
| retrytime | RETRY_TIME_DEFAULT |
| transmitretries | TRANSMIT_RETRIES_DEFAULT |
| noactivitytimeout | NO_ACTIVITY_TIMEOUT_DEFAULT |
org.eclipse.soda.dk.transport.Transport#setup()
|
2010-01-22 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||