public class DataConnection extends Object
Implementation of data connection for the processing engine. This class is capable of automatically converting units if source and target are not in the same unit (units have to be physically compatible)
| Constructor and Description |
|---|
DataConnection() |
| Modifier and Type | Method and Description |
|---|---|
String |
check() |
static String |
check(net.opengis.swe.v20.DataComponent src,
net.opengis.swe.v20.DataComponent dest)
Checks that source and destination components can be connected.
|
net.opengis.swe.v20.DataComponent |
getDestinationComponent() |
IProcessExec |
getDestinationProcess() |
Object |
getProperty(String propName) |
net.opengis.swe.v20.DataComponent |
getSourceComponent() |
IProcessExec |
getSourceProcess() |
boolean |
isDataAvailable() |
void |
setDataAvailable(boolean dataAvailable) |
void |
setDestinationComponent(net.opengis.swe.v20.DataComponent destinationComponent) |
void |
setDestinationProcess(IProcessExec destinationProcess) |
void |
setProperty(String propName,
Object propValue) |
void |
setSourceComponent(net.opengis.swe.v20.DataComponent sourceComponent) |
void |
setSourceProcess(IProcessExec sourceProcess) |
void |
transferDataBlocks()
Makes sure source and destination datablocks are the same
This is used in synchronous mode
|
public void transferDataBlocks()
public static String check(net.opengis.swe.v20.DataComponent src, net.opengis.swe.v20.DataComponent dest) throws SMLException
src - dest - SMLExceptionpublic String check() throws SMLException
SMLExceptionpublic net.opengis.swe.v20.DataComponent getDestinationComponent()
public void setDestinationComponent(net.opengis.swe.v20.DataComponent destinationComponent)
throws SMLException
SMLExceptionpublic IProcessExec getDestinationProcess()
public void setDestinationProcess(IProcessExec destinationProcess)
public net.opengis.swe.v20.DataComponent getSourceComponent()
public void setSourceComponent(net.opengis.swe.v20.DataComponent sourceComponent)
throws SMLException
SMLExceptionpublic IProcessExec getSourceProcess()
public void setSourceProcess(IProcessExec sourceProcess)
public boolean isDataAvailable()
public void setDataAvailable(boolean dataAvailable)
Copyright © 2016 VAST Team / Sensia Software LLC. All rights reserved.