|
1.0.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
GPS NMEA Transport.
The devicekit properties keys and default values.
| gpsnmeatransport.hardwareflowcontrol | 0 |
| gpsnmeatransport.parity | none |
| gpsnmeatransport.stopbits | 1 |
| gpsnmeatransport.comport | 1 |
| gpsnmeatransport.readintervaltimeout | 50 |
| gpsnmeatransport.softwareflowcontrol | 0 |
| gpsnmeatransport.writetotaltimeout | 100 |
| gpsnmeatransport.databits | 8 |
| gpsnmeatransport.readtotaltimeout | 1000 |
| gpsnmeatransport.baudrate | 4800 |
| gpsnmeatransport.linger | -1 |
| gpsnmeatransport.readtimeout | 1000 |
| gpsnmeatransport.readsize | -1 |
| gpsnmeatransport.localport | -1 |
| gpsnmeatransport.host | localhost |
| gpsnmeatransport.writesize | -1 |
| gpsnmeatransport.remoteport | 8901 |
| 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 class name. |
static byte[] |
HEX_TABLE
Define the hex table (byte[]) constant. |
| Fields inherited from interface org.eclipse.soda.dk.gps.nmea.transport.service.GpsNmeaTransportService |
|---|
DEFAULT_BAUDRATE, DEFAULT_COMPORT, DEFAULT_DATABITS, DEFAULT_HOST, DEFAULT_HWFLOW, DEFAULT_LINGER, DEFAULT_LOCALPORT, DEFAULT_PARITY, DEFAULT_READINTERVALTIMEOUT, DEFAULT_READSIZE, DEFAULT_READTIMEOUT, DEFAULT_READTOTALTIMEOUT, DEFAULT_REMOTEPORT, DEFAULT_STOPBITS, DEFAULT_SWFLOW, DEFAULT_WRITESIZE, DEFAULT_WRITETOTALTIMEOUT, FACTORY_SERVICE_NAME, MANAGED_SERVICE_NAME, SERVICE_NAME |
| 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 varables 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.
Exception.
java.lang.Exception
protected void write(MessageService message)
throws java.lang.Exception
message - The message (MessageService) parameter.
Exception.
java.lang.Exceptionpublic ConnectionService getDefaultConnection()
public SerialConnectionService getDefaultSerialConnection()
public TcpipConnectionService getDefaultTcpipConnection()
public void setup()
User defined properties and default values.
| retrytime | DEFAULT_RETRY_TIME |
| noactivitytimeout | DEFAULT_NO_ACTIVITY_TIMEOUT |
org.eclipse.soda.dk.transport.Transport#setup()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||