|
2008-09-15 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTransportBundle
org.eclipse.soda.dk.gps.nmea.transport.bundle.GpsNmeaTransportBundle
public class GpsNmeaTransportBundle
Global Positioning System (GPS) National Marine Electronics Association (NMEA) Transport.
The transport bundle activator class creates and registers the GpsNmeaTransport transport.
The Device Kit properties keys and default values.
| gpsnmeatransport.baudrate | 4800 |
| gpsnmeatransport.parity | none |
| gpsnmeatransport.writetotaltimeout | 100 |
| gpsnmeatransport.softwareflowcontrol | 0 |
| gpsnmeatransport.stopbits | 1 |
| gpsnmeatransport.hardwareflowcontrol | 0 |
| gpsnmeatransport.readintervaltimeout | 50 |
| gpsnmeatransport.readtotaltimeout | 1000 |
| gpsnmeatransport.comport | 1 |
| gpsnmeatransport.databits | 8 |
| gpsnmeatransport.localport | -1 |
| gpsnmeatransport.readtimeout | 1000 |
| gpsnmeatransport.host | localhost |
| gpsnmeatransport.readsize | -1 |
| gpsnmeatransport.remoteport | 8901 |
| gpsnmeatransport.linger | -1 |
| gpsnmeatransport.writesize | -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 java.lang.String[] |
DEVICE_CATEGORY
Defines the org.osgi.service.device.Constants.DEVICE_CATEGORY property. |
static java.lang.String[] |
EXPORTED_SERVICE_NAMES
Defines the service name(s) to be registered by the GpsNmeaTransport bundle. |
| Constructor Summary | |
|---|---|
GpsNmeaTransportBundle()
|
|
| Method Summary | |
|---|---|
java.util.Hashtable |
createProperties()
Gets the properties to be registered with the service(s). |
TransportService |
createService(ConnectionService connection)
Creates the transport service to be registered with the OSGi system. |
java.lang.String[] |
getExportedServiceNames()
Return the exported service name(s) to be registered by the GpsNmeaTransport bundle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.osgi.framework.BundleActivator |
|---|
start, stop |
| Field Detail |
|---|
public static final java.lang.String CLASS_NAME
public static final java.lang.String[] DEVICE_CATEGORY
public static final java.lang.String[] EXPORTED_SERVICE_NAMES
| org.eclipse.soda.dk.transport.service.TransportService |
| Constructor Detail |
|---|
public GpsNmeaTransportBundle()
| Method Detail |
|---|
public java.util.Hashtable createProperties()
| org.osgi.framework.Constants.SERVICE_RANKING | 6 |
| org.osgi.service.device.Constants.DEVICE_CATEGORY | TransportService |
| org.eclipse.soda.dk.connection.bundle.ServiceBundle.DEVICE_CLASS | GpsNmea |
| org.osgi.framework.Constants.SERVICE_PID | GpsNmeaTransportService.SERVICE_NAME |
| org.osgi.service.device.Constants.DRIVER_ID | GpsNmeaTransport |
public TransportService createService(ConnectionService connection)
connection - The connection service to be used when creating this transport service.
GpsNmeaTransportpublic java.lang.String[] getExportedServiceNames()
|
2008-09-15 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||