Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d828855
commit 29b18e3
Showing
7 changed files
with
450 additions
and
506 deletions.
There are no files selected for viewing
393 changes: 390 additions & 3 deletions
393
packages/node-opcua-server/source/addressSpace_accessor.ts
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
packages/node-opcua-server/source/i_address_space_accessor.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { ISessionContext } from "node-opcua-address-space-base"; | ||
import { DataValue } from "node-opcua-data-value"; | ||
import { StatusCode } from "node-opcua-status-code"; | ||
import { BrowseDescriptionOptions, BrowseResult, ReadRequestOptions, WriteValue, CallMethodRequest, CallMethodResultOptions, HistoryReadRequest, HistoryReadResult } from "node-opcua-types"; | ||
|
||
export interface IAddressSpaceAccessor { | ||
browse(context: ISessionContext, nodesToBrowse: BrowseDescriptionOptions[]): Promise<BrowseResult[]>; | ||
read(context: ISessionContext, readRequest: ReadRequestOptions): Promise<DataValue[]>; | ||
write(context: ISessionContext, nodesToWrite: WriteValue[]): Promise<StatusCode[]>; | ||
call(context: ISessionContext, methodsToCall: CallMethodRequest[]): Promise<CallMethodResultOptions[]>; | ||
historyRead(context: ISessionContext, historyReadRequest: HistoryReadRequest): Promise<HistoryReadResult[]>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.