stack

package
v0.0.0-...-54cfa85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Channel transport.SecureChannel
}

A Client is an OPCUA client.

func (*Client) ActivateSession

func (c *Client) ActivateSession(req uatype.ActivateSessionRequest, deadline time.Time) (*uatype.ActivateSessionResponse, error)

ActivateSession sends a ActivateSession request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) AddNodes

func (c *Client) AddNodes(req uatype.AddNodesRequest, deadline time.Time) (*uatype.AddNodesResponse, error)

AddNodes sends a AddNodes request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) AddReferences

func (c *Client) AddReferences(req uatype.AddReferencesRequest, deadline time.Time) (*uatype.AddReferencesResponse, error)

AddReferences sends a AddReferences request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) Browse

func (c *Client) Browse(req uatype.BrowseRequest, deadline time.Time) (*uatype.BrowseResponse, error)

Browse sends a Browse request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) BrowseNext

func (c *Client) BrowseNext(req uatype.BrowseNextRequest, deadline time.Time) (*uatype.BrowseNextResponse, error)

BrowseNext sends a BrowseNext request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) Call

func (c *Client) Call(req uatype.CallRequest, deadline time.Time) (*uatype.CallResponse, error)

Call sends a Call request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) Cancel

func (c *Client) Cancel(req uatype.CancelRequest, deadline time.Time) (*uatype.CancelResponse, error)

Cancel sends a Cancel request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) CloseSession

func (c *Client) CloseSession(req uatype.CloseSessionRequest, deadline time.Time) (*uatype.CloseSessionResponse, error)

CloseSession sends a CloseSession request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) CreateMonitoredItems

func (c *Client) CreateMonitoredItems(req uatype.CreateMonitoredItemsRequest, deadline time.Time) (*uatype.CreateMonitoredItemsResponse, error)

CreateMonitoredItems sends a CreateMonitoredItems request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) CreateSession

func (c *Client) CreateSession(req uatype.CreateSessionRequest, deadline time.Time) (*uatype.CreateSessionResponse, error)

CreateSession sends a CreateSession request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) CreateSubscription

func (c *Client) CreateSubscription(req uatype.CreateSubscriptionRequest, deadline time.Time) (*uatype.CreateSubscriptionResponse, error)

CreateSubscription sends a CreateSubscription request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) DeleteMonitoredItems

func (c *Client) DeleteMonitoredItems(req uatype.DeleteMonitoredItemsRequest, deadline time.Time) (*uatype.DeleteMonitoredItemsResponse, error)

DeleteMonitoredItems sends a DeleteMonitoredItems request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) DeleteNodes

func (c *Client) DeleteNodes(req uatype.DeleteNodesRequest, deadline time.Time) (*uatype.DeleteNodesResponse, error)

DeleteNodes sends a DeleteNodes request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) DeleteReferences

func (c *Client) DeleteReferences(req uatype.DeleteReferencesRequest, deadline time.Time) (*uatype.DeleteReferencesResponse, error)

DeleteReferences sends a DeleteReferences request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) DeleteSubscriptions

func (c *Client) DeleteSubscriptions(req uatype.DeleteSubscriptionsRequest, deadline time.Time) (*uatype.DeleteSubscriptionsResponse, error)

DeleteSubscriptions sends a DeleteSubscriptions request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) FindServers

func (c *Client) FindServers(req uatype.FindServersRequest, deadline time.Time) (*uatype.FindServersResponse, error)

FindServers sends a FindServers request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) FindServersOnNetwork

func (c *Client) FindServersOnNetwork(req uatype.FindServersOnNetworkRequest, deadline time.Time) (*uatype.FindServersOnNetworkResponse, error)

FindServersOnNetwork sends a FindServersOnNetwork request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) GetEndpoints

func (c *Client) GetEndpoints(req uatype.GetEndpointsRequest, deadline time.Time) (*uatype.GetEndpointsResponse, error)

GetEndpoints sends a GetEndpoints request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) HistoryRead

func (c *Client) HistoryRead(req uatype.HistoryReadRequest, deadline time.Time) (*uatype.HistoryReadResponse, error)

HistoryRead sends a HistoryRead request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) HistoryUpdate

func (c *Client) HistoryUpdate(req uatype.HistoryUpdateRequest, deadline time.Time) (*uatype.HistoryUpdateResponse, error)

HistoryUpdate sends a HistoryUpdate request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) ModifyMonitoredItems

func (c *Client) ModifyMonitoredItems(req uatype.ModifyMonitoredItemsRequest, deadline time.Time) (*uatype.ModifyMonitoredItemsResponse, error)

ModifyMonitoredItems sends a ModifyMonitoredItems request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) ModifySubscription

func (c *Client) ModifySubscription(req uatype.ModifySubscriptionRequest, deadline time.Time) (*uatype.ModifySubscriptionResponse, error)

ModifySubscription sends a ModifySubscription request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) Publish

func (c *Client) Publish(req uatype.PublishRequest, deadline time.Time) (*uatype.PublishResponse, error)

Publish sends a Publish request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) QueryFirst

func (c *Client) QueryFirst(req uatype.QueryFirstRequest, deadline time.Time) (*uatype.QueryFirstResponse, error)

QueryFirst sends a QueryFirst request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) QueryNext

func (c *Client) QueryNext(req uatype.QueryNextRequest, deadline time.Time) (*uatype.QueryNextResponse, error)

QueryNext sends a QueryNext request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) Read

func (c *Client) Read(req uatype.ReadRequest, deadline time.Time) (*uatype.ReadResponse, error)

Read sends a Read request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) RegisterNodes

func (c *Client) RegisterNodes(req uatype.RegisterNodesRequest, deadline time.Time) (*uatype.RegisterNodesResponse, error)

RegisterNodes sends a RegisterNodes request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) RegisterServer

func (c *Client) RegisterServer(req uatype.RegisterServerRequest, deadline time.Time) (*uatype.RegisterServerResponse, error)

RegisterServer sends a RegisterServer request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) RegisterServer2

func (c *Client) RegisterServer2(req uatype.RegisterServer2Request, deadline time.Time) (*uatype.RegisterServer2Response, error)

RegisterServer2 sends a RegisterServer2 request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) Republish

func (c *Client) Republish(req uatype.RepublishRequest, deadline time.Time) (*uatype.RepublishResponse, error)

Republish sends a Republish request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) SetMonitoringMode

func (c *Client) SetMonitoringMode(req uatype.SetMonitoringModeRequest, deadline time.Time) (*uatype.SetMonitoringModeResponse, error)

SetMonitoringMode sends a SetMonitoringMode request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) SetPublishingMode

func (c *Client) SetPublishingMode(req uatype.SetPublishingModeRequest, deadline time.Time) (*uatype.SetPublishingModeResponse, error)

SetPublishingMode sends a SetPublishingMode request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) SetTriggering

func (c *Client) SetTriggering(req uatype.SetTriggeringRequest, deadline time.Time) (*uatype.SetTriggeringResponse, error)

SetTriggering sends a SetTriggering request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) TransferSubscriptions

func (c *Client) TransferSubscriptions(req uatype.TransferSubscriptionsRequest, deadline time.Time) (*uatype.TransferSubscriptionsResponse, error)

TransferSubscriptions sends a TransferSubscriptions request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) TranslateBrowsePathsToNodeIds

TranslateBrowsePathsToNodeIds sends a TranslateBrowsePathsToNodeIds request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) UnregisterNodes

func (c *Client) UnregisterNodes(req uatype.UnregisterNodesRequest, deadline time.Time) (*uatype.UnregisterNodesResponse, error)

UnregisterNodes sends a UnregisterNodes request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

func (*Client) Write

func (c *Client) Write(req uatype.WriteRequest, deadline time.Time) (*uatype.WriteResponse, error)

Write sends a Write request to the server, and waits for a response or timeout. To send and receive with no timeout use the zero time as deadline.

Directories

Path Synopsis
encoding
binary
Package binary provide functionality for encoding Go types into OPC UA binary representation as defined by [IEC-62541](https://webstore.iec.ch/webstore/webstore.nsf/mysearchajax?Openform&key=62541).
Package binary provide functionality for encoding Go types into OPC UA binary representation as defined by [IEC-62541](https://webstore.iec.ch/webstore/webstore.nsf/mysearchajax?Openform&key=62541).
uacp
Package uacp provides an implementation of the OPC UA Connection Protocol and provides a transport.SecureChannel implementation that works with any UACP compatible middleware.
Package uacp provides an implementation of the OPC UA Connection Protocol and provides a transport.SecureChannel implementation that works with any UACP compatible middleware.
Package uatype provides mostly auto-generated types used for marshalling and unmarshalling of objects for the OPC UA v1.03 binary protocol.
Package uatype provides mostly auto-generated types used for marshalling and unmarshalling of objects for the OPC UA v1.03 binary protocol.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL