1.0.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

Gps Nmea Adapter. The GpsNmeaAdapter class implements the device service and provides the controls for the device.

The list of exported services:

Version:
1.0.0
See Also:
GpsNmeaAdapterService,

See the following specification(s) for more details:


Field Summary
static java.lang.String CLASS_NAME
          Defines the class name.
 
Fields inherited from interface org.eclipse.soda.dk.gps.nmea.adapter.service.GpsNmeaAdapterService
ALL_COMMANDS, ALL_MEASUREMENTS, ALL_SIGNALS, DEFAULT_RATE, FACTORY_SERVICE_NAME, GpsNmeaAdapter, MANAGED_SERVICE_NAME, RATE_KEY, SERVICE_NAME
 
Constructor Summary
GpsNmeaAdapter()
          Constructs a new instance of the GpsNmeaAdapter class.
 
Method Summary
 DeviceService getDefaultDevice()
          Gets the default DeviceService.@return DeviceService The default DeviceService.
 java.lang.String getDefaultKey()
          Gets the default key of the device.
 InterestService getInterest()
          Gets the interest filter for the device.
 int getRate()
          Gets the value of rate custom parameter.
 boolean isDeviceNeeded()
           
 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 class name.

See Also:
Constant Field Values
Constructor Detail

GpsNmeaAdapter

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

Method Detail

getInterest

public InterestService getInterest()
Gets the interest filter for the device.

Returns:
InterestService The interest filter for this device.

getDefaultKey

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

Returns:
String The default key

getDefaultDevice

public DeviceService getDefaultDevice()
Gets the default DeviceService.@return DeviceService The default DeviceService.


isDeviceNeeded

public boolean isDeviceNeeded()

setRate

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

See Also:
getRate()

getRate

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

See Also:
setRate(int)

setup

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

1.0.0

Copyright (c) 2007 IBM