|
2009-06-02 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.gps.nmea.transport.GpsNmeaTransport
public class GpsNmeaTransport
Global Positioning System (GPS) National Marine Electronics Association (NMEA) Transport.
The Device Kit properties CONNECTION_KEYS and default values.
| gpsnmeatransport.databits | 8 |
| gpsnmeatransport.comport | 1 |
| gpsnmeatransport.readtotaltimeout | 1000 |
| gpsnmeatransport.readintervaltimeout | 50 |
| gpsnmeatransport.hardwareflowcontrol | 0 |
| gpsnmeatransport.softwareflowcontrol | 0 |
| gpsnmeatransport.stopbits | 1 |
| gpsnmeatransport.writetotaltimeout | 100 |
| gpsnmeatransport.parity | none |
| gpsnmeatransport.baudrate | 4800 |
| gpsnmeatransport.writesize | -1 |
| gpsnmeatransport.linger | -1 |
| gpsnmeatransport.readsize | -1 |
| gpsnmeatransport.remoteport | 8901 |
| gpsnmeatransport.host | localhost |
| gpsnmeatransport.readtimeout | 1000 |
| gpsnmeatransport.localport | -1 |
| gpsnmeatransport.connection | serial |
The list of exported services:
GpsNmeaTransportService,
org.eclipse.soda.dk.transport.service.TransportService| Field Summary | |
|---|---|
static java.lang.String |
CLASS_NAME
Defines the full class name. |
static byte[] |
HEX_TABLE
Define the hex table (byte[]) constant. |
| Constructor Summary | |
|---|---|
GpsNmeaTransport()
Constructs a new instance of the GpsNmeaTransport class. |
|
| Method Summary | |
|---|---|
ConnectionService |
getDefaultConnection()
Gets the default connection. |
SerialConnectionService |
getDefaultSerialConnection()
Gets the default serial connection. |
TcpipConnectionService |
getDefaultTcpipConnection()
Gets the default tcpip connection. |
int |
processInput(byte[] bytes,
int length)
Process the input bytes and notify listeners of any messages found. |
void |
setup()
Sets user-defined variables to use in the test. |
protected void |
write(MessageService message)
Write with the specified message 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 byte[] HEX_TABLE
| Constructor Detail |
|---|
public GpsNmeaTransport()
| Method Detail |
|---|
public int processInput(byte[] bytes,
int length)
throws java.lang.Exception
bytes - The bytes (byte[]) parameter.length - The length (int) parameter.
int) value.
java.lang.Exception - Exception.
protected void write(MessageService message)
throws java.lang.Exception
message - The message (MessageService) parameter.
java.lang.Exception - Exception.public ConnectionService getDefaultConnection()
public SerialConnectionService getDefaultSerialConnection()
public TcpipConnectionService getDefaultTcpipConnection()
public void setup()
User defined properties and default values.
| retrytime | RETRY_TIME_DEFAULT |
| transmitretries | TRANSMIT_RETRIES_DEFAULT |
| noactivitytimeout | NO_ACTIVITY_TIMEOUT_DEFAULT |
org.eclipse.soda.dk.transport.Transport#setup()
|
2009-06-02 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||