public abstract class LowLevelDataPipe extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
_aspSource |
protected String |
_aspTarget |
protected String |
_atgSource |
protected String |
_atgTarget |
protected boolean |
_hasReceiver |
protected boolean |
_hasSender |
protected ManagerInterface |
_manager |
protected ObjectManagerInterface |
_objectManagerInterface |
protected KExDaVDataPlugin |
_plugin |
protected DataTransferPolicy |
_policy |
protected ReceiveOptions |
_receiveOptions |
protected KExDaVReceiver |
_receiver |
protected ReceiverRole |
_receiverRole |
protected KExDaVSender |
_sender |
protected SenderRole |
_senderRole |
protected short |
_simulationVariantSource |
protected short |
_simulationVariantTarget |
protected KExDaVObject |
_source |
protected boolean |
_stopOnNextData |
protected KExDaVObject |
_target |
Modifier | Constructor and Description |
---|---|
protected |
LowLevelDataPipe(ManagerInterface manager,
String aspTarget,
ObjectManagerInterface objectManagerInterface,
String atgSource,
KExDaVObject target,
short simulationVariantTarget,
String atgTarget,
short simulationVariantSource,
String aspSource,
KExDaVDataPlugin plugin,
ReceiverRole receiverRole,
SenderRole senderRole,
ReceiveOptions receiveOptions,
KExDaVObject source) |
Modifier and Type | Method and Description |
---|---|
static LowLevelDataPipe |
createLowLevelDataPipe(KExDaVObject source,
KExDaVObject target,
String atgSource,
String atgTarget,
String aspSource,
String aspTarget,
short simulationVariantSource,
short simulationVariantTarget,
ReceiveOptions receiveOptions,
ReceiverRole receiverRole,
SenderRole senderRole,
KExDaVDataPlugin plugin,
ObjectManagerInterface objectManagerInterface,
ManagerInterface manager)
Erstellt eine Datenverbindungsklasse
|
boolean |
equals(Object o) |
int |
hashCode() |
void |
setPolicy(DataTransferPolicy policy)
Setzt das Austauschverfahren (sinnvollerweise zu setzen, bevor der Datenaustausch gestartet wird)
|
abstract void |
start()
Startet den Datentransfer
|
void |
startOneTime()
Führt nur einen Datenaustausch durch
|
void |
stop()
Stoppt den Datentransfer
|
String |
toString() |
protected abstract void |
updateSendControl(byte state) |
protected final KExDaVObject _source
protected final KExDaVObject _target
protected final String _atgSource
protected final String _atgTarget
protected final String _aspSource
protected final String _aspTarget
protected final short _simulationVariantSource
protected final short _simulationVariantTarget
protected final ReceiveOptions _receiveOptions
protected final KExDaVDataPlugin _plugin
protected final ReceiverRole _receiverRole
protected final SenderRole _senderRole
protected final ObjectManagerInterface _objectManagerInterface
protected final ManagerInterface _manager
protected final KExDaVReceiver _receiver
protected final KExDaVSender _sender
protected DataTransferPolicy _policy
protected volatile boolean _hasSender
protected volatile boolean _hasReceiver
protected volatile boolean _stopOnNextData
protected LowLevelDataPipe(ManagerInterface manager, String aspTarget, ObjectManagerInterface objectManagerInterface, String atgSource, KExDaVObject target, short simulationVariantTarget, String atgTarget, short simulationVariantSource, String aspSource, KExDaVDataPlugin plugin, ReceiverRole receiverRole, SenderRole senderRole, ReceiveOptions receiveOptions, KExDaVObject source)
public static LowLevelDataPipe createLowLevelDataPipe(KExDaVObject source, KExDaVObject target, String atgSource, String atgTarget, String aspSource, String aspTarget, short simulationVariantSource, short simulationVariantTarget, ReceiveOptions receiveOptions, ReceiverRole receiverRole, SenderRole senderRole, KExDaVDataPlugin plugin, ObjectManagerInterface objectManagerInterface, ManagerInterface manager)
source
- Quell-Objekttarget
- Ziel-ObjektatgSource
- Quell-AtgatgTarget
- Ziel-AtgaspSource
- Quell-AspektaspTarget
- Ziel-AspektsimulationVariantSource
- Quell-SimulationsvariantesimulationVariantTarget
- Ziel-SimulationsvariantereceiveOptions
- Nur geänderte Daten übertragen?receiverRole
- Art der Anmeldung im QuellsystemsenderRole
- Art der Anmeldung im Zielsystemplugin
- Modul, das das Kopieren und gegebenenfalls anpassen der Daten übernimmt. Im einfachsten Fall eine Instanz des BasicKExDaVDataPlugin
.objectManagerInterface
- Verwaltung korrespondierender Objekte (optional)manager
- Callback für Ereignisse und Warnungenpublic void setPolicy(DataTransferPolicy policy)
policy
- Austauschverfahrenpublic abstract void start()
public void stop()
public void startOneTime()
protected abstract void updateSendControl(byte state)