Class ConnectorsAasTest.Connector1<CO,CI>
- Type Parameters:
CO- the connector output typeCI- the connector input type
- All Implemented Interfaces:
de.iip_ecosphere.platform.connectors.Connector<Object,,Object, CO, CI> de.iip_ecosphere.platform.connectors.events.EventHandlingConnector,de.iip_ecosphere.platform.connectors.model.AbstractModelAccess.NotificationChangedListener
- Enclosing class:
ConnectorsAasTest
@MachineConnector(hasModel=false,
supportsEvents=false,
supportsHierarchicalQNames=false,
supportsModelCalls=false,
supportsModelProperties=false,
supportsModelStructs=false,
specificSettings={})
private static class ConnectorsAasTest.Connector1<CO,CI>
extends de.iip_ecosphere.platform.connectors.AbstractConnector<Object,Object,CO,CI>
Implements a fake/mock connector with
MachineConnector.- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested classes/interfaces inherited from class de.iip_ecosphere.platform.connectors.AbstractConnector
de.iip_ecosphere.platform.connectors.AbstractConnector.BasicAdapterProvider -
Field Summary
Fields inherited from class de.iip_ecosphere.platform.connectors.AbstractConnector
DEFAULT_CHANNEL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConnector1(de.iip_ecosphere.platform.connectors.types.ProtocolAdapter<Object, Object, CO, CI>... adapter) Creates an instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconnectImpl(de.iip_ecosphere.platform.connectors.ConnectorParameter params) protected voidvoiddispose()protected voidgetName()read()protected voidMethods inherited from class de.iip_ecosphere.platform.connectors.AbstractConnector
checkCache, configureAdapter, configureModelAccess, connect, createTlsContext, disconnect, doPolling, enableNotifications, enablePolling, getCachingStrategy, getCachingStrategyCls, getConnectorInputType, getConnectorOutputType, getConnectorParameter, getInitCachingStrategyCls, getInstanceIdentification, getProtocolInputType, getProtocolOutputType, getSelector, getStorageValue, initializeModelAccess, initSelector, installPollTask, isPolling, notificationsChanged, notifyDataTimeDifference, notifyReconfigured, received, received, request, request, setDataTimeDifference, setDataTimeDifferenceProvider, setInstanceIdentification, setReceptionCallback, setStorageValue, trigger, trigger, uninstallPollTask, useTls, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.connectors.Connector
createSharedSpace, disconnectSafe, enableSharedSpace, setReceptionCallbackSafe
-
Constructor Details
-
Connector1
@SafeVarargs protected Connector1(de.iip_ecosphere.platform.connectors.types.ProtocolAdapter<Object, Object, CO, CI>... adapter) Creates an instance.- Parameters:
adapter- the protocol adapter
-
-
Method Details
-
dispose
public void dispose() -
getName
-
connectImpl
protected void connectImpl(de.iip_ecosphere.platform.connectors.ConnectorParameter params) throws IOException - Specified by:
connectImplin classde.iip_ecosphere.platform.connectors.AbstractConnector<Object,Object, CO, CI> - Throws:
IOException
-
disconnectImpl
- Specified by:
disconnectImplin classde.iip_ecosphere.platform.connectors.AbstractConnector<Object,Object, CO, CI> - Throws:
IOException
-
writeImpl
- Specified by:
writeImplin classde.iip_ecosphere.platform.connectors.AbstractConnector<Object,Object, CO, CI> - Throws:
IOException
-
read
- Specified by:
readin classde.iip_ecosphere.platform.connectors.AbstractConnector<Object,Object, CO, CI> - Throws:
IOException
-
error
-
supportedEncryption
-
enabledEncryption
-