public class DataModuleMessageSource extends Object implements MessageSource
| Modifier and Type | Class and Description |
|---|---|
static class |
DataModuleMessageSource.InterrogationException |
NOTIFY_TOKEN| Constructor and Description |
|---|
DataModuleMessageSource(DataModuleOptions options,
ScheduledExecutorService executor,
ChannelWriter writer,
DataModel model,
long backgroundScanPeriod) |
| Modifier and Type | Method and Description |
|---|---|
void |
completeInterrogation(org.eclipse.scada.protocol.iec60870.server.data.DataModuleMessageSource.InterrogationRequest request) |
Object |
poll()
Poll the next message from the message source
|
void |
sendBooleanValue(ASDUHeader header,
InformationObjectAddress address,
Value<Boolean> value) |
void |
sendFloatValue(ASDUHeader header,
InformationObjectAddress address,
Value<Float> value) |
void |
startInterrogation(InterrogationCommand msg)
Start the process of interrogation
|
public DataModuleMessageSource(DataModuleOptions options, ScheduledExecutorService executor, ChannelWriter writer, DataModel model, long backgroundScanPeriod)
public Object poll()
MessageSourcepoll in interface MessageSourcenull if there currently
is no messagepublic void sendBooleanValue(ASDUHeader header, InformationObjectAddress address, Value<Boolean> value)
public void sendFloatValue(ASDUHeader header, InformationObjectAddress address, Value<Float> value)
public void startInterrogation(InterrogationCommand msg)
asduAddress - causeOfTransmission - qualifierOfInterrogation - public void completeInterrogation(org.eclipse.scada.protocol.iec60870.server.data.DataModuleMessageSource.InterrogationRequest request)
Copyright © 2014 Eclipse SCADA Project. All rights reserved.