2009-06-02 1.2.0

org.eclipse.soda.dk.gps.nmea.adapter
Class GpsNmeaAdapter

java.lang.Object
  extended by DeviceAdapter
      extended by org.eclipse.soda.dk.gps.nmea.adapter.GpsNmeaAdapter
All Implemented Interfaces:
GpsNmeaAdapterService

public class GpsNmeaAdapter
extends DeviceAdapter
implements GpsNmeaAdapterService

Global Positioning System (GPS) National Marine Electronics Association (NMEA) Adapter. The GpsNmeaAdapter class implements the GpsNmeaAdapterService and provides the controls for the adapter.

The list of exported services:

Since:
1.0
Version:
1.2.0
See Also:
GpsNmeaAdapterService, org.eclipse.soda.dk.adapter.service.AdapterService

Field Summary
static java.lang.String CLASS_NAME
          Defines the full class name.
 
Fields inherited from interface org.eclipse.soda.dk.gps.nmea.adapter.service.GpsNmeaAdapterService
ALL_COMMANDS, ALL_MEASUREMENTS, ALL_SIGNALS, Altitude, Date, Day, DEFAULT_RATE, FACTORY_SERVICE_NAME, GpsNmeaAdapter, HorizontalDilutionOfPrecision, Latitude, Longitude, MANAGED_SERVICE_NAME, Month, NumberSatellites, Position, Quality, RATE, RATE_DEFAULT, RATE_KEY, SERVICE_DESCRIPTION, SERVICE_NAME, SpeedKnots, SpeedKPH, Status, Time, Track, TrackMagnetic, Year
 
Constructor Summary
GpsNmeaAdapter()
          Constructs a new instance of the GpsNmeaAdapter class.
 
Method Summary
 DeviceService getDefaultDevice()
          Gets the default device (DeviceService) value.
 java.lang.String getDefaultKey()
          Gets the default key (String) value.
 InterestService getInterest()
          Gets the interest (InterestService) value.
 int getRate()
          Gets the value of rate custom parameter.
 boolean isDeviceNeeded()
          Is device needed.
 void setRate(int rate)
          Sets the value of rate custom parameter.
 void setup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Defines the full class name.

Since:
1.0
See Also:
Constant Field Values
Constructor Detail

GpsNmeaAdapter

public GpsNmeaAdapter()
Constructs a new instance of the GpsNmeaAdapter class.

Since:
1.0
Method Detail

getDefaultDevice

public DeviceService getDefaultDevice()
Gets the default device (DeviceService) value.

Returns:
DeviceService The default DeviceService.
Since:
1.2

getDefaultKey

public java.lang.String getDefaultKey()
Gets the default key (String) value.

Returns:
String The default key
Since:
1.2

getInterest

public InterestService getInterest()
Gets the interest (InterestService) value.

Returns:
InterestService The interest filter for this adapter.
Since:
1.2

getRate

public int getRate()
Gets the value of rate custom parameter.

Returns:
rate custom parameter.
Since:
1.2
See Also:
setRate(int)

isDeviceNeeded

public boolean isDeviceNeeded()
Is device needed.

Returns:
The results of this method.
Since:
1.2

setRate

public void setRate(int rate)
Sets the value of rate custom parameter.

Parameters:
rate - The rate custom parameter.
Since:
1.2
See Also:
getRate()

setup

public void setup()
Since:
1.0
See Also:
org.eclipse.soda.dk.device.Container#setup()

2009-06-02 1.2.0

Copyright (c) 2009 IBM. See license in Legal section.