Package cn.mindit.atom.opc.da
Class WriteableAsync20Access
java.lang.Object
org.openscada.opc.lib.da.AccessBase
cn.mindit.atom.opc.da.WriteableAccessBase
cn.mindit.atom.opc.da.WriteableAsync20Access
- All Implemented Interfaces:
IOPCDataCallback,ServerConnectionStateListener
- Since:
- 2024-07-24
- Author:
- Catch
-
Field Summary
Fields inherited from class org.openscada.opc.lib.da.AccessBase
active, dataLogger, group, itemCache, itemMap, items, itemSet, logTag, server -
Constructor Summary
ConstructorsConstructorDescriptionWriteableAsync20Access(Server server, int period, boolean initialRefresh) WriteableAsync20Access(Server server, int period, boolean initialRefresh, String logTag) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelComplete(int transactionId, int serverGroupHandle) voiddataChange(int transactionId, int serverGroupHandle, int masterQuality, int masterErrorCode, KeyedResultSet<Integer, ValueData> result) voidreadComplete(int transactionId, int serverGroupHandle, int masterQuality, int masterErrorCode, KeyedResultSet<Integer, ValueData> result) protected voidstart()protected voidstop()voidwriteComplete(int transactionId, int serverGroupHandle, int masterErrorCode, ResultSet<Integer> result) Methods inherited from class cn.mindit.atom.opc.da.WriteableAccessBase
getItem, updateItemMethods inherited from class org.openscada.opc.lib.da.AccessBase
addItem, addStateListener, bind, clear, connectionStateChanged, getPeriod, handleError, isActive, isBound, notifyStateListenersError, notifyStateListenersState, realizeAll, realizeItem, removeItem, removeStateListener, unbind, unrealizeAll, unrealizeItem, updateItem
-
Constructor Details
-
WriteableAsync20Access
public WriteableAsync20Access(Server server, int period, boolean initialRefresh) throws IllegalArgumentException, UnknownHostException, NotConnectedException, org.jinterop.dcom.common.JIException, DuplicateGroupException - Throws:
IllegalArgumentExceptionUnknownHostExceptionNotConnectedExceptionorg.jinterop.dcom.common.JIExceptionDuplicateGroupException
-
WriteableAsync20Access
public WriteableAsync20Access(Server server, int period, boolean initialRefresh, String logTag) throws IllegalArgumentException, UnknownHostException, NotConnectedException, org.jinterop.dcom.common.JIException, DuplicateGroupException - Throws:
IllegalArgumentExceptionUnknownHostExceptionNotConnectedExceptionorg.jinterop.dcom.common.JIExceptionDuplicateGroupException
-
-
Method Details
-
start
protected void start() throws org.jinterop.dcom.common.JIException, IllegalArgumentException, UnknownHostException, NotConnectedException, DuplicateGroupException- Overrides:
startin classAccessBase- Throws:
org.jinterop.dcom.common.JIExceptionIllegalArgumentExceptionUnknownHostExceptionNotConnectedExceptionDuplicateGroupException
-
stop
protected void stop() throws org.jinterop.dcom.common.JIException- Overrides:
stopin classAccessBase- Throws:
org.jinterop.dcom.common.JIException
-
cancelComplete
public void cancelComplete(int transactionId, int serverGroupHandle) - Specified by:
cancelCompletein interfaceIOPCDataCallback
-
dataChange
public void dataChange(int transactionId, int serverGroupHandle, int masterQuality, int masterErrorCode, KeyedResultSet<Integer, ValueData> result) - Specified by:
dataChangein interfaceIOPCDataCallback
-
readComplete
public void readComplete(int transactionId, int serverGroupHandle, int masterQuality, int masterErrorCode, KeyedResultSet<Integer, ValueData> result) - Specified by:
readCompletein interfaceIOPCDataCallback
-
writeComplete
public void writeComplete(int transactionId, int serverGroupHandle, int masterErrorCode, ResultSet<Integer> result) - Specified by:
writeCompletein interfaceIOPCDataCallback
-