use of org.apache.plc4x.java.opcua.context.SecureChannel in project plc4x by apache.
the class OpcuaProtocolLogic method onConnect.
@Override
public void onConnect(ConversationContext<OpcuaAPU> context) {
LOGGER.debug("Opcua Driver running in ACTIVE mode.");
if (this.channel == null) {
this.channel = new SecureChannel(driverContext, this.configuration);
}
this.channel.onConnect(context);
}
use of org.apache.plc4x.java.opcua.context.SecureChannel in project plc4x by apache.
the class OpcuaProtocolLogic method setDriverContext.
@Override
public void setDriverContext(DriverContext driverContext) {
super.setDriverContext(driverContext);
this.channel = new SecureChannel(driverContext, this.configuration);
}
Aggregations