com.esf.util.gps
Class GpsDevice

java.lang.Object
  extended bycom.esf.util.gps.GpsDevice
All Implemented Interfaces:
org.osgi.service.event.EventHandler

public abstract class GpsDevice
extends java.lang.Object
implements org.osgi.service.event.EventHandler

GPS Utility class, not intended to be used by the end user of ESF.


Method Summary
 void bind(org.osgi.framework.BundleContext bundleContext, ISerialCommAquisitionService serialCommAquisitionService, IEsfLoggerService esfLoggerService, IBootstrapService bootstrapService, IConfigurationManagerService configMgr, ISystemManagerService systemMgr)
           
 int getGpsBaudRate()
           
 java.lang.String getGpsPort()
           
 void handleEvent(org.osgi.service.event.Event event)
          This method is call when the EventListener receives a new configuration event.
 void init(java.lang.String newPortName, int newBaudRate, boolean persist)
           
 void setGpsBaudRate(int newBaudRate)
           
 void setGpsPort(java.lang.String newPortName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bind

public void bind(org.osgi.framework.BundleContext bundleContext,
                 ISerialCommAquisitionService serialCommAquisitionService,
                 IEsfLoggerService esfLoggerService,
                 IBootstrapService bootstrapService,
                 IConfigurationManagerService configMgr,
                 ISystemManagerService systemMgr)

init

public void init(java.lang.String newPortName,
                 int newBaudRate,
                 boolean persist)

setGpsPort

public void setGpsPort(java.lang.String newPortName)

getGpsPort

public java.lang.String getGpsPort()

setGpsBaudRate

public void setGpsBaudRate(int newBaudRate)

getGpsBaudRate

public int getGpsBaudRate()

handleEvent

public void handleEvent(org.osgi.service.event.Event event)
This method is call when the EventListener receives a new configuration event. The Configuration Object is then requested from the Configuration Manager Service, and then it is parsed.

Specified by:
handleEvent in interface org.osgi.service.event.EventHandler


Copyright © 2009 Eurotech Inc. All rights reserved.