CO - the connector output typeCI - the connector input typeprivate static class ConnectorsAasTest.Connector2<CO,CI>
extends de.iip_ecosphere.platform.connectors.AbstractConnector<byte[],byte[],CO,CI>
MachineConnector.| Modifier | Constructor and Description |
|---|---|
protected |
Connector2(de.iip_ecosphere.platform.connectors.types.ProtocolAdapter<byte[],byte[],CO,CI> adapter)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
connectImpl(de.iip_ecosphere.platform.connectors.ConnectorParameter params) |
protected void |
disconnectImpl() |
void |
dispose() |
String |
enabledEncryption() |
protected void |
error(String message,
Throwable th) |
String |
getName() |
protected byte[] |
read() |
String |
supportedEncryption() |
protected void |
writeImpl(byte[] data) |
configureModelAccess, connect, disconnect, doPolling, enableNotifications, enablePolling, getConnectorInputType, getConnectorOutputType, getConnectorParameter, getProtocolInputType, getProtocolOutputType, getSelector, initializeModelAccess, installPollTask, isPolling, notificationsChanged, received, received, request, setReceptionCallback, trigger, trigger, uninstallPollTask, writepublic void dispose()
public String getName()
protected void connectImpl(de.iip_ecosphere.platform.connectors.ConnectorParameter params)
throws IOException
connectImpl in class de.iip_ecosphere.platform.connectors.AbstractConnector<byte[],byte[],CO,CI>IOExceptionprotected void disconnectImpl()
throws IOException
disconnectImpl in class de.iip_ecosphere.platform.connectors.AbstractConnector<byte[],byte[],CO,CI>IOExceptionprotected void writeImpl(byte[] data)
throws IOException
writeImpl in class de.iip_ecosphere.platform.connectors.AbstractConnector<byte[],byte[],CO,CI>IOExceptionprotected byte[] read()
throws IOException
read in class de.iip_ecosphere.platform.connectors.AbstractConnector<byte[],byte[],CO,CI>IOExceptionpublic String supportedEncryption()
public String enabledEncryption()
Copyright © 2022. All rights reserved.