wsn

package
v0.0.0-...-882ba95 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WsnBw2Namespace = map[string]string{
	"wsntw":   "http://docs.oasis-open.org/wsn/bw-2",
	"wsnt":    "http://docs.oasis-open.org/wsn/b-2",
	"wsa":     "http://www.w3.org/2005/08/addressing",
	"wsrf-rw": "http://docs.oasis-open.org/wsrf/rw-2",
	"xsd":     "http://www.w3.org/2001/XMLSchema",
	"wsdl":    "http://schemas.xmlsoap.org/wsdl/",
}

<wsdl:definitions name="WS-BaseNotification" targetNamespace="http://docs.oasis-open.org/wsn/bw-2" xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <wsdl:import namespace="http://docs.oasis-open.org/wsrf/rw-2" location="http://docs.oasis-open.org/wsrf/rw-2.wsdl"/>

Functions

This section is empty.

Types

type AbsoluteOrRelativeTimeType

type AbsoluteOrRelativeTimeType struct {
	IsDateTime bool
	DateTime   xs.DateTime // 存储xsd:dateTime类型值
	Duration   xs.Duration // 存储xsd:duration类型值
}

<xsd:simpleType name="AbsoluteOrRelativeTimeType">

<xsd:union memberTypes="xsd:dateTime xsd:duration" />

</xsd:simpleType>

type CurrentTime

type CurrentTime xs.DateTime

<xsd:element name="CurrentTime" type="xsd:dateTime" />

type ExtensibleDocumented

type ExtensibleDocumented struct {
}

type FilterType

type FilterType struct {
	// XMLName xml.Name `xml:"http://www.w3.org/2001/XMLSchema FilterType"`
	Any []struct {
		Content []byte `xml:",innerxml"`
		Name    xml.Name
	} `xml:",any"` // <xsd:any minOccurs="0" maxOccurs="unbounded"/>
}

type FixedTopicSet

type FixedTopicSet bool

<xsd:element name="FixedTopicSet" type="xsd:boolean" default="true"/>

type Message

type Message struct {
}

<!-- ================== Message Helper Types ===================== -->

type NotificationMessage

type NotificationMessage NotificationMessageHolderType

<xsd:element name="NotificationMessage" type="wsnt:NotificationMessageHolderType"/>

type NotificationMessageHolderType

type NotificationMessageHolderType struct {
	// XMLName xml.Name `xml:"wsnt:NotificationMessageHolderType"`
	//	<xsd:element ref="wsnt:SubscriptionReference" minOccurs="0" maxOccurs="1" />
	SubscriptionReference *SubscriptionReference `xml:"SubscriptionReference,omitempty"` // minOccurs="0" maxOccurs="1"
	//	<xsd:element ref="wsnt:Topic" minOccurs="0" maxOccurs="1" />
	Topic *Topic `xml:"Topic,omitempty"` // minOccurs="0" maxOccurs="1"
	//	<xsd:element ref="wsnt:ProducerReference" minOccurs="0" maxOccurs="1" />
	ProducerReference *ProducerReference `xml:"ProducerReference,omitempty"` // minOccurs="0" maxOccurs="1"
	Message           Message            `xml:"Message"`
}

type ProducerReference

type ProducerReference wsa.EndpointReferenceType

<xsd:element name="ProducerReference" type="wsa:EndpointReferenceType" />

type SubscriptionReference

type SubscriptionReference wsa.EndpointReferenceType

<!-- ================= Notification Metadata ===================== -->

<xsd:element name="SubscriptionReference" type="wsa:EndpointReferenceType" />

type TerminationTime

type TerminationTime xs.DateTime

<xsd:element name="TerminationTime" nillable="true" type="xsd:dateTime" />

type Topic

type Topic TopicExpressionType

<xsd:element name="Topic" type="wsnt:TopicExpressionType" />

type TopicExpressionDialect

type TopicExpressionDialect xs.AnyURI

type TopicExpressionType

type TopicExpressionType struct {
	// XMLName xml.Name `xml:"wsnt:TopicExpressionType"`
	// <xsd:any minOccurs="0" maxOccurs="1" processContents="lax" />
	Dialect xs.AnyURI `xml:"Dialect,attr"` // type="xsd:anyURI" use="required"
}

type TopicSet

type TopicSet TopicSetType

type TopicSetType

type TopicSetType struct {
	// XMLName xml.Name `xml:"wstop:TopicSetType"`
	ExtensibleDocumented
}

type Unsubscribe

type Unsubscribe struct {
}

type UnsubscribeResponse

type UnsubscribeResponse struct {
}

Jump to

Keyboard shortcuts

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