|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTransportFactory
org.eclipse.soda.dk.gps.nmea.transport.factory.GpsNmeaTransportFactory
public class GpsNmeaTransportFactory
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. |
static java.lang.String[] |
IMPORTED_SERVICE_NAMES
Defines the imported service name(s) to be registered by the GpsNmeaTransport bundle. |
| Constructor Summary | |
|---|---|
GpsNmeaTransportFactory()
|
|
| 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(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
Return the exported service name(s) to be registered by the GpsNmeaTransport bundle. |
java.lang.String[] |
getImportedServiceNames(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
Return the imported 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 |
public static final java.lang.String[] IMPORTED_SERVICE_NAMES
| org.eclipse.soda.dk.connection.service.ConnectionService |
| Constructor Detail |
|---|
public GpsNmeaTransportFactory()
| 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.
GpsNmeaTransport
public java.lang.String[] getExportedServiceNames(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
pid - pid.oldProperties - old properties.properties - properties.manager - manager.
public java.lang.String[] getImportedServiceNames(java.lang.String pid,
java.util.Dictionary oldProperties,
java.util.Dictionary properties,
org.eclipse.soda.sat.core.framework.interfaces.IBundleActivationManager manager)
pid - pid.oldProperties - old properties.properties - properties.manager - manager.
|
2008-07-29 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||