public class DataModuleHandler extends AbstractModuleHandler implements DataModuleContext
AbstractModuleHandler.CloseOnFailureCallback, AbstractModuleHandler.DefaultMirrorCommand<T extends MirrorableMessage<T>>, AbstractModuleHandler.MirrorCommandImpl<T>| Constructor and Description |
|---|
DataModuleHandler(DataHandler dataHandler,
DataModuleOptions options) |
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic DataModuleHandler(DataHandler dataHandler, DataModuleOptions options)
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionprotected ASDUHeader makeHeader(Cause cause, ASDUAddress address)
public void startInterrogation(ASDUAddress address, short qualifierOfInterrogation)
startInterrogation in interface DataModuleContextpublic void requestStartData()
requestStartData in interface DataModuleContextpublic void channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg)
throws Exception
channelRead in interface io.netty.channel.ChannelInboundHandlerchannelRead in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionprotected void handleDisconnected()
protected void handleStarted()
protected boolean ignoreMessage(AbstractMessage msg)
protected void handleDataMessage(SinglePointInformationTimeSingle msg)
protected void handleDataMessage(SinglePointInformationSequence msg)
protected void handleDataMessage(SinglePointInformationSingle msg)
protected void handleDataMessage(DoublePointInformationSequence msg)
protected void handleDataMessage(DoublePointInformationSingle msg)
protected void handleDataMessage(DoublePointInformationTimeSingle msg)
protected void handleDataMessage(MeasuredValueShortFloatingPointTimeSingle msg)
protected void handleDataMessage(MeasuredValueShortFloatingPointSingle msg)
protected void handleDataMessage(MeasuredValueShortFloatingPointSequence msg)
protected void handleDataMessage(MeasuredValueScaledSequence msg)
protected void handleDataMessage(MeasuredValueScaledSingle msg)
protected void handleDataMessage(MeasuredValueScaledTimeSingle msg)
Copyright © 2017 Eclipse NeoSCADA Project. All rights reserved.