ist.palcom.services.location.palgeoconversion
Class GeoConverterService

java.lang.Object
  extended by ist.palcom.services.AbstractService
      extended by ist.palcom.services.location.palgeoconversion.GeoConverterService
All Implemented Interfaces:
Service, IHgraphNode

public class GeoConverterService
extends AbstractService


Field Summary
 
Fields inherited from class ist.palcom.services.AbstractService
_node, connectionsMonitor, context, info, siid
 
Fields inherited from interface ist.palcom.hgraph.IHgraphNode
CHILD_NAME_CLASH, CIRCULARITY_CLASH, COMMAND_OR_NODE_MISSING, ERROR, HANDLER_MISSING, INVOKATOR_MISSING, LISTENER_MISSING, NODE_NOT_CHILD, PATH_MISSING, SIBLING_ALREADY_EXISTS, SIBLING_NONEXISTENT, SIBLING_REFERENCE_ALREADY_EXISTS, SIBLING_REFERENCE_NONEXISTENT, STATUS_OK, VALUE_ALREADY_EXISTS, VALUE_NOT_PRESENT
 
Constructor Summary
GeoConverterService(DeviceContext context)
           
 
Method Summary
 ServiceID getServiceID()
           
 void returnBngLocation(double tm_easting, double tm_northing, double latDegrees, double lonDegrees, byte[] senderURN)
           
 void returnSystem34JLocation(double system34_x, double system34_y, byte[] senderURN)
           
 void returnUtmLocation(double utm_easting, double utm_northing, double latDegrees, double lonDegrees, byte[] senderURN)
           
 
Methods inherited from class ist.palcom.services.AbstractService
addNodeChild, addServiceProxyListener, connectionClosed, connectionCreated, connectTo, disconnectFrom, getChildIterator, getConnections, getFuncFunc, getNodeName, getNodeParent, getPath, getRemoteServiceProxy, getSelector, getServiceInfo, getServiceInstanceID, getServiceProxy, getSiblingFunc, getValueFunc, hasChildNamed, isAncestorOf, remoteServiceProxyIterator, removeNodeChild, removeServiceProxyListener, sendToAll, setGroupID, setLocalSID, setName, setNodeName, setNodeParent, setServiceInstanceID, setServiceProxy, setStatus, setTopic, start, stop, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoConverterService

public GeoConverterService(DeviceContext context)
                    throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getServiceID

public ServiceID getServiceID()
Specified by:
getServiceID in class AbstractService
Returns:
the ServiceID of the service.

returnUtmLocation

public void returnUtmLocation(double utm_easting,
                              double utm_northing,
                              double latDegrees,
                              double lonDegrees,
                              byte[] senderURN)

returnSystem34JLocation

public void returnSystem34JLocation(double system34_x,
                                    double system34_y,
                                    byte[] senderURN)

returnBngLocation

public void returnBngLocation(double tm_easting,
                              double tm_northing,
                              double latDegrees,
                              double lonDegrees,
                              byte[] senderURN)