1919
2020package org .apache .iotdb .db .pipe .sink .protocol .opcua .client ;
2121
22+ import org .apache .iotdb .db .pipe .sink .protocol .opcua .OpcUaSink ;
23+
24+ import org .apache .tsfile .write .record .Tablet ;
2225import org .eclipse .milo .opcua .sdk .client .OpcUaClient ;
2326import org .eclipse .milo .opcua .sdk .client .api .identity .IdentityProvider ;
24- import org .eclipse .milo .opcua .sdk .client .api .subscriptions .UaMonitoredItem ;
25- import org .eclipse .milo .opcua .sdk .client .api .subscriptions .UaSubscription ;
26- import org .eclipse .milo .opcua .stack .core .AttributeId ;
27- import org .eclipse .milo .opcua .stack .core .Identifiers ;
27+ import org .eclipse .milo .opcua .stack .core .UaException ;
2828import org .eclipse .milo .opcua .stack .core .security .SecurityPolicy ;
29- import org .eclipse .milo .opcua .stack .core .types .builtin .ExtensionObject ;
30- import org .eclipse .milo .opcua .stack .core .types .builtin .QualifiedName ;
31- import org .eclipse .milo .opcua .stack .core .types .builtin .unsigned .UInteger ;
32- import org .eclipse .milo .opcua .stack .core .types .enumerated .MonitoringMode ;
33- import org .eclipse .milo .opcua .stack .core .types .enumerated .TimestampsToReturn ;
34- import org .eclipse .milo .opcua .stack .core .types .structured .ContentFilter ;
3529import org .eclipse .milo .opcua .stack .core .types .structured .EndpointDescription ;
36- import org .eclipse .milo .opcua .stack .core .types .structured .EventFilter ;
37- import org .eclipse .milo .opcua .stack .core .types .structured .MonitoredItemCreateRequest ;
38- import org .eclipse .milo .opcua .stack .core .types .structured .MonitoringParameters ;
39- import org .eclipse .milo .opcua .stack .core .types .structured .ReadValueId ;
40- import org .eclipse .milo .opcua .stack .core .types .structured .SimpleAttributeOperand ;
41-
42- import java .util .Collections ;
43- import java .util .List ;
44- import java .util .concurrent .atomic .AtomicInteger ;
30+
4531import java .util .concurrent .atomic .AtomicLong ;
4632import java .util .function .Predicate ;
4733
48- import static org .eclipse .milo .opcua .stack .core .types .builtin .unsigned .Unsigned .uint ;
49-
5034public class IoTDBOpcUaClient {
5135
5236 private final String nodeUrl ;
@@ -70,6 +54,8 @@ public void run(OpcUaClient client) throws Exception {
7054 client .connect ().get ();
7155 }
7256
57+ public void transfer (final Tablet tablet , final OpcUaSink sink ) throws UaException {}
58+
7359 /////////////////////////////// Getter ///////////////////////////////
7460
7561 String getNodeUrl () {
0 commit comments