Search in sources :

Example 1 with SecureChannel

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);
}
Also used : SecureChannel(org.apache.plc4x.java.opcua.context.SecureChannel)

Example 2 with SecureChannel

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);
}
Also used : SecureChannel(org.apache.plc4x.java.opcua.context.SecureChannel)

Aggregations

SecureChannel (org.apache.plc4x.java.opcua.context.SecureChannel)2