|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openiec61850.server.data.SampleDataSource
public class SampleDataSource
The IEC server AccessPoint reads and writes data from and to so called DataSources. These data sources are external to the openIEC61850 library stack and are accessed via this interface. For every AccessPoint there must be an implementation of this interface. These implementations are not part of the openIEC61850 stack but of the concrete applications that make use of the stack.
Constructor Summary | |
---|---|
SampleDataSource()
|
Method Summary | |
---|---|
void |
initialize(AccessPoint ac,
java.util.Set<java.lang.String> triggerDchg,
java.util.Set<java.lang.String> triggerQchg,
java.util.Set<java.lang.String> triggerDupd)
Initiates the DataSource with a reference back to the Access point and all triggerable nodes |
void |
readValues(java.util.List<BasicDataAttribute> basicDataAttributes)
Inserts the proper values in the given BasicDataAttributes using setValue(). |
void |
run()
Keeps track of events for reporting and logging. |
void |
writeValues(java.util.List<BasicDataAttribute> basicDataAttributes)
Takes the values from the given list of BasicDataAttributes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SampleDataSource()
Method Detail |
---|
public void initialize(AccessPoint ac, java.util.Set<java.lang.String> triggerDchg, java.util.Set<java.lang.String> triggerQchg, java.util.Set<java.lang.String> triggerDupd)
DataSource
initialize
in interface DataSource
public void readValues(java.util.List<BasicDataAttribute> basicDataAttributes) throws ServiceError
readValues
in interface DataSource
ServiceError
public void writeValues(java.util.List<BasicDataAttribute> basicDataAttributes) throws ServiceError
writeValues
in interface DataSource
ServiceError
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |