npdu

package
v0.0.0-...-8944a85 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NPDUTypes map[uint8]func(args Args, kwArgs KWArgs, options ...Option) (Decoder, error)

NPDUTypes is a dictionary of message type values and structs

Functions

func WithDisconnectConnectionToNetworkDNET

func WithDisconnectConnectionToNetworkDNET(dnet uint16) GenericApplier[*DisconnectConnectionToNetwork]

TODO: check if this is rather a KWArgs

func WithEstablishConnectionToNetworkDNET

func WithEstablishConnectionToNetworkDNET(dnet uint16) GenericApplier[*EstablishConnectionToNetwork]

TODO: check if this is rather a KWArgs

func WithEstablishConnectionToNetworkTerminationTime

func WithEstablishConnectionToNetworkTerminationTime(terminationTime uint8) GenericApplier[*EstablishConnectionToNetwork]

TODO: check if this is rather a KWArgs

func WithIAmRouterToNetworkNetworkList

func WithIAmRouterToNetworkNetworkList(iartnNetworkList ...uint16) GenericApplier[*IAmRouterToNetwork]

TODO: check if this is rather a KWArgs

func WithICouldBeRouterToNetworkNetwork

func WithICouldBeRouterToNetworkNetwork(icbrtnNetwork uint16) GenericApplier[*ICouldBeRouterToNetwork]

TODO: check if this is rather a KWArgs

func WithICouldBeRouterToNetworkPerformanceIndex

func WithICouldBeRouterToNetworkPerformanceIndex(icbrtnPerformanceIndex uint8) GenericApplier[*ICouldBeRouterToNetwork]

TODO: check if this is rather a KWArgs

func WithInitializeRoutingTableAckIrtaTable

func WithInitializeRoutingTableAckIrtaTable(irtaTable ...*RoutingTableEntry) GenericApplier[*InitializeRoutingTableAck]

TODO: check if this is rather a KWArgs

func WithInitializeRoutingTableIrtTable

func WithInitializeRoutingTableIrtTable(irtTable ...*RoutingTableEntry) GenericApplier[*InitializeRoutingTable]

TODO: check if this is rather a KWArgs

func WithNetworkNumberIsNET

func WithNetworkNumberIsNET(net uint16) GenericApplier[*NetworkNumberIs]

TODO: check if this is rather a KWArgs

func WithNetworkNumberIsTerminationConfigured

func WithNetworkNumberIsTerminationConfigured(configured bool) GenericApplier[*NetworkNumberIs]

TODO: check if this is rather a KWArgs

func WithRejectMessageToNetworkDnet

func WithRejectMessageToNetworkDnet(dnet uint16) GenericApplier[*RejectMessageToNetwork]

TODO: check if this is rather a KWArgs

func WithRejectMessageToNetworkRejectionReason

func WithRejectMessageToNetworkRejectionReason(reason model.NLMRejectMessageToNetworkRejectReason) GenericApplier[*RejectMessageToNetwork]

TODO: check if this is rather a KWArgs

func WithRouterAvailableToNetworkDnet

func WithRouterAvailableToNetworkDnet(networkList []uint16) GenericApplier[*RouterAvailableToNetwork]

TODO: check if this is rather a KWArgs

func WithRouterBusyToNetworkDnet

func WithRouterBusyToNetworkDnet(networkList []uint16) GenericApplier[*RouterBusyToNetwork]

TODO: check if this is rather a KWArgs

func WithRoutingTableEntryDestinationNetworkAddress

func WithRoutingTableEntryDestinationNetworkAddress(dnet uint16) GenericApplier[*RoutingTableEntry]

func WithRoutingTableEntryPortId

func WithRoutingTableEntryPortId(id uint8) GenericApplier[*RoutingTableEntry]

func WithRoutingTableEntryPortInfo

func WithRoutingTableEntryPortInfo(portInfo []byte) GenericApplier[*RoutingTableEntry]

func WithWhoIsRouterToNetworkNet

func WithWhoIsRouterToNetworkNet(net uint16) GenericApplier[*WhoIsRouterToNetwork]

Types

type DisconnectConnectionToNetwork

type DisconnectConnectionToNetwork struct {
	// contains filtered or unexported fields
}

func NewDisconnectConnectionToNetwork

func NewDisconnectConnectionToNetwork(args Args, kwArgs KWArgs, options ...Option) (*DisconnectConnectionToNetwork, error)

func (DisconnectConnectionToNetwork) CreateNPDUBuilder

func (n DisconnectConnectionToNetwork) CreateNPDUBuilder() readWriteModel.NPDUBuilder

func (*DisconnectConnectionToNetwork) Decode

func (n *DisconnectConnectionToNetwork) Decode(npdu Arg) error

func (DisconnectConnectionToNetwork) DeepCopy

func (n DisconnectConnectionToNetwork) DeepCopy() any

func (*DisconnectConnectionToNetwork) Encode

func (n *DisconnectConnectionToNetwork) Encode(npdu Arg) error

func (DisconnectConnectionToNetwork) GetApdu

func (n DisconnectConnectionToNetwork) GetApdu() readWriteModel.APDU

func (DisconnectConnectionToNetwork) GetControl

func (n DisconnectConnectionToNetwork) GetControl() readWriteModel.NPDUControl

func (*DisconnectConnectionToNetwork) GetDctnDNET

func (n *DisconnectConnectionToNetwork) GetDctnDNET() uint16

func (*DisconnectConnectionToNetwork) GetDebugAttr

func (n *DisconnectConnectionToNetwork) GetDebugAttr(attr string) any

func (DisconnectConnectionToNetwork) GetDestinationAddress

func (n DisconnectConnectionToNetwork) GetDestinationAddress() []uint8

func (DisconnectConnectionToNetwork) GetDestinationLength

func (n DisconnectConnectionToNetwork) GetDestinationLength() *uint8

func (DisconnectConnectionToNetwork) GetDestinationLengthAddon

func (n DisconnectConnectionToNetwork) GetDestinationLengthAddon() uint16

func (DisconnectConnectionToNetwork) GetDestinationNetworkAddress

func (n DisconnectConnectionToNetwork) GetDestinationNetworkAddress() *uint16

func (DisconnectConnectionToNetwork) GetHopCount

func (n DisconnectConnectionToNetwork) GetHopCount() *uint8

func (DisconnectConnectionToNetwork) GetNlm

func (n DisconnectConnectionToNetwork) GetNlm() readWriteModel.NLM

func (DisconnectConnectionToNetwork) GetPayloadSubtraction

func (n DisconnectConnectionToNetwork) GetPayloadSubtraction() uint16

func (DisconnectConnectionToNetwork) GetProtocolVersionNumber

func (n DisconnectConnectionToNetwork) GetProtocolVersionNumber() uint8

func (DisconnectConnectionToNetwork) GetSourceAddress

func (n DisconnectConnectionToNetwork) GetSourceAddress() []uint8

func (DisconnectConnectionToNetwork) GetSourceLength

func (n DisconnectConnectionToNetwork) GetSourceLength() *uint8

func (DisconnectConnectionToNetwork) GetSourceLengthAddon

func (n DisconnectConnectionToNetwork) GetSourceLengthAddon() uint16

func (DisconnectConnectionToNetwork) GetSourceNetworkAddress

func (n DisconnectConnectionToNetwork) GetSourceNetworkAddress() *uint16

func (DisconnectConnectionToNetwork) IsNPDU

func (n DisconnectConnectionToNetwork) IsNPDU()

type EstablishConnectionToNetwork

type EstablishConnectionToNetwork struct {
	// contains filtered or unexported fields
}

func NewEstablishConnectionToNetwork

func NewEstablishConnectionToNetwork(args Args, kwArgs KWArgs, options ...Option) (*EstablishConnectionToNetwork, error)

func (EstablishConnectionToNetwork) CreateNPDUBuilder

func (n EstablishConnectionToNetwork) CreateNPDUBuilder() readWriteModel.NPDUBuilder

func (*EstablishConnectionToNetwork) Decode

func (e *EstablishConnectionToNetwork) Decode(npdu Arg) error

func (EstablishConnectionToNetwork) DeepCopy

func (n EstablishConnectionToNetwork) DeepCopy() any

func (*EstablishConnectionToNetwork) Encode

func (e *EstablishConnectionToNetwork) Encode(npdu Arg) error

func (EstablishConnectionToNetwork) GetApdu

func (n EstablishConnectionToNetwork) GetApdu() readWriteModel.APDU

func (EstablishConnectionToNetwork) GetControl

func (n EstablishConnectionToNetwork) GetControl() readWriteModel.NPDUControl

func (*EstablishConnectionToNetwork) GetDebugAttr

func (e *EstablishConnectionToNetwork) GetDebugAttr(attr string) any

func (EstablishConnectionToNetwork) GetDestinationAddress

func (n EstablishConnectionToNetwork) GetDestinationAddress() []uint8

func (EstablishConnectionToNetwork) GetDestinationLength

func (n EstablishConnectionToNetwork) GetDestinationLength() *uint8

func (EstablishConnectionToNetwork) GetDestinationLengthAddon

func (n EstablishConnectionToNetwork) GetDestinationLengthAddon() uint16

func (EstablishConnectionToNetwork) GetDestinationNetworkAddress

func (n EstablishConnectionToNetwork) GetDestinationNetworkAddress() *uint16

func (*EstablishConnectionToNetwork) GetEctnDNET

func (e *EstablishConnectionToNetwork) GetEctnDNET() uint16

func (*EstablishConnectionToNetwork) GetEctnTerminationTime

func (e *EstablishConnectionToNetwork) GetEctnTerminationTime() uint8

func (EstablishConnectionToNetwork) GetHopCount

func (n EstablishConnectionToNetwork) GetHopCount() *uint8

func (EstablishConnectionToNetwork) GetNlm

func (n EstablishConnectionToNetwork) GetNlm() readWriteModel.NLM

func (EstablishConnectionToNetwork) GetPayloadSubtraction

func (n EstablishConnectionToNetwork) GetPayloadSubtraction() uint16

func (EstablishConnectionToNetwork) GetProtocolVersionNumber

func (n EstablishConnectionToNetwork) GetProtocolVersionNumber() uint8

func (EstablishConnectionToNetwork) GetSourceAddress

func (n EstablishConnectionToNetwork) GetSourceAddress() []uint8

func (EstablishConnectionToNetwork) GetSourceLength

func (n EstablishConnectionToNetwork) GetSourceLength() *uint8

func (EstablishConnectionToNetwork) GetSourceLengthAddon

func (n EstablishConnectionToNetwork) GetSourceLengthAddon() uint16

func (EstablishConnectionToNetwork) GetSourceNetworkAddress

func (n EstablishConnectionToNetwork) GetSourceNetworkAddress() *uint16

func (EstablishConnectionToNetwork) IsNPDU

func (n EstablishConnectionToNetwork) IsNPDU()

type IAmRouterToNetwork

type IAmRouterToNetwork struct {
	// contains filtered or unexported fields
}

func NewIAmRouterToNetwork

func NewIAmRouterToNetwork(args Args, kwArgs KWArgs, options ...Option) (*IAmRouterToNetwork, error)

func (IAmRouterToNetwork) CreateNPDUBuilder

func (n IAmRouterToNetwork) CreateNPDUBuilder() readWriteModel.NPDUBuilder

func (*IAmRouterToNetwork) Decode

func (i *IAmRouterToNetwork) Decode(npdu Arg) error

func (IAmRouterToNetwork) DeepCopy

func (n IAmRouterToNetwork) DeepCopy() any

func (*IAmRouterToNetwork) Encode

func (i *IAmRouterToNetwork) Encode(npdu Arg) error

func (IAmRouterToNetwork) GetApdu

func (n IAmRouterToNetwork) GetApdu() readWriteModel.APDU

func (IAmRouterToNetwork) GetControl

func (n IAmRouterToNetwork) GetControl() readWriteModel.NPDUControl

func (*IAmRouterToNetwork) GetDebugAttr

func (i *IAmRouterToNetwork) GetDebugAttr(attr string) any

func (IAmRouterToNetwork) GetDestinationAddress

func (n IAmRouterToNetwork) GetDestinationAddress() []uint8

func (IAmRouterToNetwork) GetDestinationLength

func (n IAmRouterToNetwork) GetDestinationLength() *uint8

func (IAmRouterToNetwork) GetDestinationLengthAddon

func (n IAmRouterToNetwork) GetDestinationLengthAddon() uint16

func (IAmRouterToNetwork) GetDestinationNetworkAddress

func (n IAmRouterToNetwork) GetDestinationNetworkAddress() *uint16

func (IAmRouterToNetwork) GetHopCount

func (n IAmRouterToNetwork) GetHopCount() *uint8

func (*IAmRouterToNetwork) GetIartnNetworkList

func (i *IAmRouterToNetwork) GetIartnNetworkList() []uint16

func (IAmRouterToNetwork) GetNlm

func (n IAmRouterToNetwork) GetNlm() readWriteModel.NLM

func (IAmRouterToNetwork) GetPayloadSubtraction

func (n IAmRouterToNetwork) GetPayloadSubtraction() uint16

func (IAmRouterToNetwork) GetProtocolVersionNumber

func (n IAmRouterToNetwork) GetProtocolVersionNumber() uint8

func (IAmRouterToNetwork) GetSourceAddress

func (n IAmRouterToNetwork) GetSourceAddress() []uint8

func (IAmRouterToNetwork) GetSourceLength

func (n IAmRouterToNetwork) GetSourceLength() *uint8

func (IAmRouterToNetwork) GetSourceLengthAddon

func (n IAmRouterToNetwork) GetSourceLengthAddon() uint16

func (IAmRouterToNetwork) GetSourceNetworkAddress

func (n IAmRouterToNetwork) GetSourceNetworkAddress() *uint16

func (IAmRouterToNetwork) IsNPDU

func (n IAmRouterToNetwork) IsNPDU()

type ICouldBeRouterToNetwork

type ICouldBeRouterToNetwork struct {
	// contains filtered or unexported fields
}

func NewICouldBeRouterToNetwork

func NewICouldBeRouterToNetwork(args Args, kwArgs KWArgs, options ...Option) (*ICouldBeRouterToNetwork, error)

func (ICouldBeRouterToNetwork) CreateNPDUBuilder

func (n ICouldBeRouterToNetwork) CreateNPDUBuilder() readWriteModel.NPDUBuilder

func (*ICouldBeRouterToNetwork) Decode

func (i *ICouldBeRouterToNetwork) Decode(npdu Arg) error

func (ICouldBeRouterToNetwork) DeepCopy

func (n ICouldBeRouterToNetwork) DeepCopy() any

func (*ICouldBeRouterToNetwork) Encode

func (i *ICouldBeRouterToNetwork) Encode(npdu Arg) error

func (ICouldBeRouterToNetwork) GetApdu

func (n ICouldBeRouterToNetwork) GetApdu() readWriteModel.APDU

func (ICouldBeRouterToNetwork) GetControl

func (n ICouldBeRouterToNetwork) GetControl() readWriteModel.NPDUControl

func (*ICouldBeRouterToNetwork) GetDebugAttr

func (i *ICouldBeRouterToNetwork) GetDebugAttr(attr string) any

func (ICouldBeRouterToNetwork) GetDestinationAddress

func (n ICouldBeRouterToNetwork) GetDestinationAddress() []uint8

func (ICouldBeRouterToNetwork) GetDestinationLength

func (n ICouldBeRouterToNetwork) GetDestinationLength() *uint8

func (ICouldBeRouterToNetwork) GetDestinationLengthAddon

func (n ICouldBeRouterToNetwork) GetDestinationLengthAddon() uint16

func (ICouldBeRouterToNetwork) GetDestinationNetworkAddress

func (n ICouldBeRouterToNetwork) GetDestinationNetworkAddress() *uint16

func (ICouldBeRouterToNetwork) GetHopCount

func (n ICouldBeRouterToNetwork) GetHopCount() *uint8

func (*ICouldBeRouterToNetwork) GetIcbrtnNetwork

func (i *ICouldBeRouterToNetwork) GetIcbrtnNetwork() uint16

func (*ICouldBeRouterToNetwork) GetIcbrtnPerformanceIndex

func (i *ICouldBeRouterToNetwork) GetIcbrtnPerformanceIndex() uint8

func (ICouldBeRouterToNetwork) GetNlm

func (n ICouldBeRouterToNetwork) GetNlm() readWriteModel.NLM

func (ICouldBeRouterToNetwork) GetPayloadSubtraction

func (n ICouldBeRouterToNetwork) GetPayloadSubtraction() uint16

func (ICouldBeRouterToNetwork) GetProtocolVersionNumber

func (n ICouldBeRouterToNetwork) GetProtocolVersionNumber() uint8

func (ICouldBeRouterToNetwork) GetSourceAddress

func (n ICouldBeRouterToNetwork) GetSourceAddress() []uint8

func (ICouldBeRouterToNetwork) GetSourceLength

func (n ICouldBeRouterToNetwork) GetSourceLength() *uint8

func (ICouldBeRouterToNetwork) GetSourceLengthAddon

func (n ICouldBeRouterToNetwork) GetSourceLengthAddon() uint16

func (ICouldBeRouterToNetwork) GetSourceNetworkAddress

func (n ICouldBeRouterToNetwork) GetSourceNetworkAddress() *uint16

func (ICouldBeRouterToNetwork) IsNPDU

func (n ICouldBeRouterToNetwork) IsNPDU()

type InitializeRoutingTable

type InitializeRoutingTable struct {
	// contains filtered or unexported fields
}

func NewInitializeRoutingTable

func NewInitializeRoutingTable(args Args, kwArgs KWArgs, options ...Option) (*InitializeRoutingTable, error)

func (InitializeRoutingTable) CreateNPDUBuilder

func (n InitializeRoutingTable) CreateNPDUBuilder() readWriteModel.NPDUBuilder

func (*InitializeRoutingTable) Decode

func (i *InitializeRoutingTable) Decode(npdu Arg) error

func (InitializeRoutingTable) DeepCopy

func (n InitializeRoutingTable) DeepCopy() any

func (*InitializeRoutingTable) Encode

func (i *InitializeRoutingTable) Encode(npdu Arg) error

func (InitializeRoutingTable) GetApdu

func (n InitializeRoutingTable) GetApdu() readWriteModel.APDU

func (InitializeRoutingTable) GetControl

func (n InitializeRoutingTable) GetControl() readWriteModel.NPDUControl

func (*InitializeRoutingTable) GetDebugAttr

func (i *InitializeRoutingTable) GetDebugAttr(attr string) any

func (InitializeRoutingTable) GetDestinationAddress

func (n InitializeRoutingTable) GetDestinationAddress() []uint8

func (InitializeRoutingTable) GetDestinationLength

func (n InitializeRoutingTable) GetDestinationLength() *uint8

func (InitializeRoutingTable) GetDestinationLengthAddon

func (n InitializeRoutingTable) GetDestinationLengthAddon() uint16

func (InitializeRoutingTable) GetDestinationNetworkAddress

func (n InitializeRoutingTable) GetDestinationNetworkAddress() *uint16

func (InitializeRoutingTable) GetHopCount

func (n InitializeRoutingTable) GetHopCount() *uint8

func (*InitializeRoutingTable) GetIrtTable

func (i *InitializeRoutingTable) GetIrtTable() []*RoutingTableEntry

func (InitializeRoutingTable) GetNlm

func (n InitializeRoutingTable) GetNlm() readWriteModel.NLM

func (InitializeRoutingTable) GetPayloadSubtraction

func (n InitializeRoutingTable) GetPayloadSubtraction() uint16

func (InitializeRoutingTable) GetProtocolVersionNumber

func (n InitializeRoutingTable) GetProtocolVersionNumber() uint8

func (InitializeRoutingTable) GetSourceAddress

func (n InitializeRoutingTable) GetSourceAddress() []uint8

func (InitializeRoutingTable) GetSourceLength

func (n InitializeRoutingTable) GetSourceLength() *uint8

func (InitializeRoutingTable) GetSourceLengthAddon

func (n InitializeRoutingTable) GetSourceLengthAddon() uint16

func (InitializeRoutingTable) GetSourceNetworkAddress

func (n InitializeRoutingTable) GetSourceNetworkAddress() *uint16

func (InitializeRoutingTable) IsNPDU

func (n InitializeRoutingTable) IsNPDU()

type InitializeRoutingTableAck

type InitializeRoutingTableAck struct {
	// contains filtered or unexported fields
}

func NewInitializeRoutingTableAck

func NewInitializeRoutingTableAck(args Args, kwArgs KWArgs, options ...Option) (*InitializeRoutingTableAck, error)

func (InitializeRoutingTableAck) CreateNPDUBuilder

func (n InitializeRoutingTableAck) CreateNPDUBuilder() readWriteModel.NPDUBuilder

func (*InitializeRoutingTableAck) Decode

func (i *InitializeRoutingTableAck) Decode(npdu Arg) error

func (InitializeRoutingTableAck) DeepCopy

func (n InitializeRoutingTableAck) DeepCopy() any

func (*InitializeRoutingTableAck) Encode

func (i *InitializeRoutingTableAck) Encode(npdu Arg) error

func (InitializeRoutingTableAck) GetApdu

func (n InitializeRoutingTableAck) GetApdu() readWriteModel.APDU

func (InitializeRoutingTableAck) GetControl

func (n InitializeRoutingTableAck) GetControl() readWriteModel.NPDUControl

func (*InitializeRoutingTableAck) GetDebugAttr

func (i *InitializeRoutingTableAck) GetDebugAttr(attr string) any

func (InitializeRoutingTableAck) GetDestinationAddress

func (n InitializeRoutingTableAck) GetDestinationAddress() []uint8

func (InitializeRoutingTableAck) GetDestinationLength

func (n InitializeRoutingTableAck) GetDestinationLength() *uint8

func (InitializeRoutingTableAck) GetDestinationLengthAddon

func (n InitializeRoutingTableAck) GetDestinationLengthAddon() uint16

func (InitializeRoutingTableAck) GetDestinationNetworkAddress

func (n InitializeRoutingTableAck) GetDestinationNetworkAddress() *uint16

func (InitializeRoutingTableAck) GetHopCount

func (n InitializeRoutingTableAck) GetHopCount() *uint8

func (*InitializeRoutingTableAck) GetIrtaTable

func (i *InitializeRoutingTableAck) GetIrtaTable() []*RoutingTableEntry

func (InitializeRoutingTableAck) GetNlm

func (n InitializeRoutingTableAck) GetNlm() readWriteModel.NLM

func (InitializeRoutingTableAck) GetPayloadSubtraction

func (n InitializeRoutingTableAck) GetPayloadSubtraction() uint16

func (InitializeRoutingTableAck) GetProtocolVersionNumber

func (n InitializeRoutingTableAck) GetProtocolVersionNumber() uint8

func (InitializeRoutingTableAck) GetSourceAddress

func (n InitializeRoutingTableAck) GetSourceAddress() []uint8

func (InitializeRoutingTableAck) GetSourceLength

func (n InitializeRoutingTableAck) GetSourceLength() *uint8

func (InitializeRoutingTableAck) GetSourceLengthAddon

func (n InitializeRoutingTableAck) GetSourceLengthAddon() uint16

func (InitializeRoutingTableAck) GetSourceNetworkAddress

func (n InitializeRoutingTableAck) GetSourceNetworkAddress() *uint16

func (InitializeRoutingTableAck) IsNPDU

func (n InitializeRoutingTableAck) IsNPDU()

type NPCI

type NPCI interface {
	PCI

	GetNPDUNetMessage() *uint8

	Encode(pdu Arg) error
	Decode(pdu Arg) error

	SetNpduVersion(uint8)
	GetNpduVersion() uint8
	SetNpduControl(uint8)
	GetNpduControl() uint8
	SetNpduDADR(*Address)
	GetNpduDADR() *Address
	SetNpduSADR(*Address)
	GetNpduSADR() *Address
	SetNpduHopCount(*uint8)
	GetNpduHopCount() *uint8
	SetNpduNetMessage(*uint8)
	GetNpduNetMessage() *uint8
	SetNpduVendorID(*readWriteModel.BACnetVendorId)
	GetNpduVendorID() *readWriteModel.BACnetVendorId

	GetNPCI() NPCI
}

func NewNPCI

func NewNPCI(args Args, kwArgs KWArgs, options ...Option) NPCI

type NPDU

type NPDU interface {
	Copyable
	readWriteModel.NPDU
	NPCI
	PDUData
}

func NewNPDU

func NewNPDU(args Args, kwArgs KWArgs, options ...Option) (NPDU, error)

type NetworkNumberIs

type NetworkNumberIs struct {
	// contains filtered or unexported fields
}

func NewNetworkNumberIs

func NewNetworkNumberIs(args Args, kwArgs KWArgs, options ...Option) (*NetworkNumberIs, error)

func (NetworkNumberIs) CreateNPDUBuilder

func (n NetworkNumberIs) CreateNPDUBuilder() readWriteModel.NPDUBuilder

func (*NetworkNumberIs) Decode

func (n *NetworkNumberIs) Decode(npdu Arg) error

func (NetworkNumberIs) DeepCopy

func (n NetworkNumberIs) DeepCopy() any

func (*NetworkNumberIs) Encode

func (n *NetworkNumberIs) Encode(npdu Arg) error

func (NetworkNumberIs) GetApdu

func (n NetworkNumberIs) GetApdu() readWriteModel.APDU

func (NetworkNumberIs) GetControl

func (n NetworkNumberIs) GetControl() readWriteModel.NPDUControl

func (*NetworkNumberIs) GetDebugAttr

func (n *NetworkNumberIs) GetDebugAttr(attr string) any

func (NetworkNumberIs) GetDestinationAddress

func (n NetworkNumberIs) GetDestinationAddress() []uint8

func (NetworkNumberIs) GetDestinationLength

func (n NetworkNumberIs) GetDestinationLength() *uint8

func (NetworkNumberIs) GetDestinationLengthAddon

func (n NetworkNumberIs) GetDestinationLengthAddon() uint16

func (NetworkNumberIs) GetDestinationNetworkAddress

func (n NetworkNumberIs) GetDestinationNetworkAddress() *uint16

func (NetworkNumberIs) GetHopCount

func (n NetworkNumberIs) GetHopCount() *uint8

func (NetworkNumberIs) GetNlm

func (n NetworkNumberIs) GetNlm() readWriteModel.NLM

func (*NetworkNumberIs) GetNniFlag

func (n *NetworkNumberIs) GetNniFlag() bool

func (*NetworkNumberIs) GetNniNet

func (n *NetworkNumberIs) GetNniNet() uint16

func (NetworkNumberIs) GetPayloadSubtraction

func (n NetworkNumberIs) GetPayloadSubtraction() uint16

func (NetworkNumberIs) GetProtocolVersionNumber

func (n NetworkNumberIs) GetProtocolVersionNumber() uint8

func (NetworkNumberIs) GetSourceAddress

func (n NetworkNumberIs) GetSourceAddress() []uint8

func (NetworkNumberIs) GetSourceLength

func (n NetworkNumberIs) GetSourceLength() *uint8

func (NetworkNumberIs) GetSourceLengthAddon

func (n NetworkNumberIs) GetSourceLengthAddon() uint16

func (NetworkNumberIs) GetSourceNetworkAddress

func (n NetworkNumberIs) GetSourceNetworkAddress() *uint16

func (NetworkNumberIs) IsNPDU

func (n NetworkNumberIs) IsNPDU()

type RejectMessageToNetwork

type RejectMessageToNetwork struct {
	// contains filtered or unexported fields
}

func NewRejectMessageToNetwork

func NewRejectMessageToNetwork(args Args, kwArgs KWArgs, options ...Option) (*RejectMessageToNetwork, error)

func (RejectMessageToNetwork) CreateNPDUBuilder

func (n RejectMessageToNetwork) CreateNPDUBuilder() readWriteModel.NPDUBuilder

func (*RejectMessageToNetwork) Decode

func (r *RejectMessageToNetwork) Decode(npdu Arg) error

func (RejectMessageToNetwork) DeepCopy

func (n RejectMessageToNetwork) DeepCopy() any

func (*RejectMessageToNetwork) Encode

func (r *RejectMessageToNetwork) Encode(npdu Arg) error

func (RejectMessageToNetwork) GetApdu

func (n RejectMessageToNetwork) GetApdu() readWriteModel.APDU

func (RejectMessageToNetwork) GetControl

func (n RejectMessageToNetwork) GetControl() readWriteModel.NPDUControl

func (*RejectMessageToNetwork) GetDebugAttr

func (r *RejectMessageToNetwork) GetDebugAttr(attr string) any

func (RejectMessageToNetwork) GetDestinationAddress

func (n RejectMessageToNetwork) GetDestinationAddress() []uint8

func (RejectMessageToNetwork) GetDestinationLength

func (n RejectMessageToNetwork) GetDestinationLength() *uint8

func (RejectMessageToNetwork) GetDestinationLengthAddon

func (n RejectMessageToNetwork) GetDestinationLengthAddon() uint16

func (RejectMessageToNetwork) GetDestinationNetworkAddress

func (n RejectMessageToNetwork) GetDestinationNetworkAddress() *uint16

func (RejectMessageToNetwork) GetHopCount

func (n RejectMessageToNetwork) GetHopCount() *uint8

func (RejectMessageToNetwork) GetNlm

func (n RejectMessageToNetwork) GetNlm() readWriteModel.NLM

func (RejectMessageToNetwork) GetPayloadSubtraction

func (n RejectMessageToNetwork) GetPayloadSubtraction() uint16

func (RejectMessageToNetwork) GetProtocolVersionNumber

func (n RejectMessageToNetwork) GetProtocolVersionNumber() uint8

func (*RejectMessageToNetwork) GetRmtnDNET

func (r *RejectMessageToNetwork) GetRmtnDNET() uint16

func (*RejectMessageToNetwork) GetRmtnRejectionReason

func (RejectMessageToNetwork) GetSourceAddress

func (n RejectMessageToNetwork) GetSourceAddress() []uint8

func (RejectMessageToNetwork) GetSourceLength

func (n RejectMessageToNetwork) GetSourceLength() *uint8

func (RejectMessageToNetwork) GetSourceLengthAddon

func (n RejectMessageToNetwork) GetSourceLengthAddon() uint16

func (RejectMessageToNetwork) GetSourceNetworkAddress

func (n RejectMessageToNetwork) GetSourceNetworkAddress() *uint16

func (RejectMessageToNetwork) IsNPDU

func (n RejectMessageToNetwork) IsNPDU()

type RouterAvailableToNetwork

type RouterAvailableToNetwork struct {
	// contains filtered or unexported fields
}

func NewRouterAvailableToNetwork

func NewRouterAvailableToNetwork(args Args, kwArgs KWArgs, options ...Option) (*RouterAvailableToNetwork, error)

func (RouterAvailableToNetwork) CreateNPDUBuilder

func (n RouterAvailableToNetwork) CreateNPDUBuilder() readWriteModel.NPDUBuilder

func (*RouterAvailableToNetwork) Decode

func (r *RouterAvailableToNetwork) Decode(npdu Arg) error

func (RouterAvailableToNetwork) DeepCopy

func (n RouterAvailableToNetwork) DeepCopy() any

func (*RouterAvailableToNetwork) Encode

func (r *RouterAvailableToNetwork) Encode(npdu Arg) error

func (RouterAvailableToNetwork) GetApdu

func (n RouterAvailableToNetwork) GetApdu() readWriteModel.APDU

func (RouterAvailableToNetwork) GetControl

func (n RouterAvailableToNetwork) GetControl() readWriteModel.NPDUControl

func (RouterAvailableToNetwork) GetDestinationAddress

func (n RouterAvailableToNetwork) GetDestinationAddress() []uint8

func (RouterAvailableToNetwork) GetDestinationLength

func (n RouterAvailableToNetwork) GetDestinationLength() *uint8

func (RouterAvailableToNetwork) GetDestinationLengthAddon

func (n RouterAvailableToNetwork) GetDestinationLengthAddon() uint16

func (RouterAvailableToNetwork) GetDestinationNetworkAddress

func (n RouterAvailableToNetwork) GetDestinationNetworkAddress() *uint16

func (RouterAvailableToNetwork) GetHopCount

func (n RouterAvailableToNetwork) GetHopCount() *uint8

func (RouterAvailableToNetwork) GetNlm

func (n RouterAvailableToNetwork) GetNlm() readWriteModel.NLM

func (RouterAvailableToNetwork) GetPayloadSubtraction

func (n RouterAvailableToNetwork) GetPayloadSubtraction() uint16

func (RouterAvailableToNetwork) GetProtocolVersionNumber

func (n RouterAvailableToNetwork) GetProtocolVersionNumber() uint8

func (*RouterAvailableToNetwork) GetRatnNetworkList

func (r *RouterAvailableToNetwork) GetRatnNetworkList() []uint16

func (RouterAvailableToNetwork) GetSourceAddress

func (n RouterAvailableToNetwork) GetSourceAddress() []uint8

func (RouterAvailableToNetwork) GetSourceLength

func (n RouterAvailableToNetwork) GetSourceLength() *uint8

func (RouterAvailableToNetwork) GetSourceLengthAddon

func (n RouterAvailableToNetwork) GetSourceLengthAddon() uint16

func (RouterAvailableToNetwork) GetSourceNetworkAddress

func (n RouterAvailableToNetwork) GetSourceNetworkAddress() *uint16

func (RouterAvailableToNetwork) IsNPDU

func (n RouterAvailableToNetwork) IsNPDU()

type RouterBusyToNetwork

type RouterBusyToNetwork struct {
	// contains filtered or unexported fields
}

func NewRouterBusyToNetwork

func NewRouterBusyToNetwork(args Args, kwArgs KWArgs, options ...Option) (*RouterBusyToNetwork, error)

func (RouterBusyToNetwork) CreateNPDUBuilder

func (n RouterBusyToNetwork) CreateNPDUBuilder() readWriteModel.NPDUBuilder

func (*RouterBusyToNetwork) Decode

func (r *RouterBusyToNetwork) Decode(npdu Arg) error

func (RouterBusyToNetwork) DeepCopy

func (n RouterBusyToNetwork) DeepCopy() any

func (*RouterBusyToNetwork) Encode

func (r *RouterBusyToNetwork) Encode(npdu Arg) error

func (RouterBusyToNetwork) GetApdu

func (n RouterBusyToNetwork) GetApdu() readWriteModel.APDU

func (RouterBusyToNetwork) GetControl

func (n RouterBusyToNetwork) GetControl() readWriteModel.NPDUControl

func (*RouterBusyToNetwork) GetDebugAttr

func (r *RouterBusyToNetwork) GetDebugAttr(attr string) any

func (RouterBusyToNetwork) GetDestinationAddress

func (n RouterBusyToNetwork) GetDestinationAddress() []uint8

func (RouterBusyToNetwork) GetDestinationLength

func (n RouterBusyToNetwork) GetDestinationLength() *uint8

func (RouterBusyToNetwork) GetDestinationLengthAddon

func (n RouterBusyToNetwork) GetDestinationLengthAddon() uint16

func (RouterBusyToNetwork) GetDestinationNetworkAddress

func (n RouterBusyToNetwork) GetDestinationNetworkAddress() *uint16

func (RouterBusyToNetwork) GetHopCount

func (n RouterBusyToNetwork) GetHopCount() *uint8

func (RouterBusyToNetwork) GetNlm

func (n RouterBusyToNetwork) GetNlm() readWriteModel.NLM

func (RouterBusyToNetwork) GetPayloadSubtraction

func (n RouterBusyToNetwork) GetPayloadSubtraction() uint16

func (RouterBusyToNetwork) GetProtocolVersionNumber

func (n RouterBusyToNetwork) GetProtocolVersionNumber() uint8

func (*RouterBusyToNetwork) GetRbtnNetworkList

func (r *RouterBusyToNetwork) GetRbtnNetworkList() []uint16

func (RouterBusyToNetwork) GetSourceAddress

func (n RouterBusyToNetwork) GetSourceAddress() []uint8

func (RouterBusyToNetwork) GetSourceLength

func (n RouterBusyToNetwork) GetSourceLength() *uint8

func (RouterBusyToNetwork) GetSourceLengthAddon

func (n RouterBusyToNetwork) GetSourceLengthAddon() uint16

func (RouterBusyToNetwork) GetSourceNetworkAddress

func (n RouterBusyToNetwork) GetSourceNetworkAddress() *uint16

func (RouterBusyToNetwork) IsNPDU

func (n RouterBusyToNetwork) IsNPDU()

type RoutingTableEntry

type RoutingTableEntry struct {
	*DebugContents `ignore:"true"`
	// contains filtered or unexported fields
}

func NewRoutingTableEntry

func NewRoutingTableEntry(options ...Option) *RoutingTableEntry

func (*RoutingTableEntry) Equals

func (r *RoutingTableEntry) Equals(other any) bool

func (*RoutingTableEntry) GetDebugAttr

func (r *RoutingTableEntry) GetDebugAttr(attr string) any

func (*RoutingTableEntry) String

func (r *RoutingTableEntry) String() string

type WhatIsNetworkNumber

type WhatIsNetworkNumber struct {
	// contains filtered or unexported fields
}

func NewWhatIsNetworkNumber

func NewWhatIsNetworkNumber(args Args, kwArgs KWArgs, options ...Option) (*WhatIsNetworkNumber, error)

func (WhatIsNetworkNumber) CreateNPDUBuilder

func (n WhatIsNetworkNumber) CreateNPDUBuilder() readWriteModel.NPDUBuilder

func (*WhatIsNetworkNumber) Decode

func (w *WhatIsNetworkNumber) Decode(npdu Arg) error

func (WhatIsNetworkNumber) DeepCopy

func (n WhatIsNetworkNumber) DeepCopy() any

func (*WhatIsNetworkNumber) Encode

func (w *WhatIsNetworkNumber) Encode(npdu Arg) error

func (WhatIsNetworkNumber) GetApdu

func (n WhatIsNetworkNumber) GetApdu() readWriteModel.APDU

func (WhatIsNetworkNumber) GetControl

func (n WhatIsNetworkNumber) GetControl() readWriteModel.NPDUControl

func (WhatIsNetworkNumber) GetDestinationAddress

func (n WhatIsNetworkNumber) GetDestinationAddress() []uint8

func (WhatIsNetworkNumber) GetDestinationLength

func (n WhatIsNetworkNumber) GetDestinationLength() *uint8

func (WhatIsNetworkNumber) GetDestinationLengthAddon

func (n WhatIsNetworkNumber) GetDestinationLengthAddon() uint16

func (WhatIsNetworkNumber) GetDestinationNetworkAddress

func (n WhatIsNetworkNumber) GetDestinationNetworkAddress() *uint16

func (WhatIsNetworkNumber) GetHopCount

func (n WhatIsNetworkNumber) GetHopCount() *uint8

func (WhatIsNetworkNumber) GetNlm

func (n WhatIsNetworkNumber) GetNlm() readWriteModel.NLM

func (WhatIsNetworkNumber) GetPayloadSubtraction

func (n WhatIsNetworkNumber) GetPayloadSubtraction() uint16

func (WhatIsNetworkNumber) GetProtocolVersionNumber

func (n WhatIsNetworkNumber) GetProtocolVersionNumber() uint8

func (WhatIsNetworkNumber) GetSourceAddress

func (n WhatIsNetworkNumber) GetSourceAddress() []uint8

func (WhatIsNetworkNumber) GetSourceLength

func (n WhatIsNetworkNumber) GetSourceLength() *uint8

func (WhatIsNetworkNumber) GetSourceLengthAddon

func (n WhatIsNetworkNumber) GetSourceLengthAddon() uint16

func (WhatIsNetworkNumber) GetSourceNetworkAddress

func (n WhatIsNetworkNumber) GetSourceNetworkAddress() *uint16

func (WhatIsNetworkNumber) IsNPDU

func (n WhatIsNetworkNumber) IsNPDU()

type WhoIsRouterToNetwork

type WhoIsRouterToNetwork struct {
	// contains filtered or unexported fields
}

func NewWhoIsRouterToNetwork

func NewWhoIsRouterToNetwork(args Args, kwArgs KWArgs, options ...Option) (*WhoIsRouterToNetwork, error)

func (WhoIsRouterToNetwork) CreateNPDUBuilder

func (n WhoIsRouterToNetwork) CreateNPDUBuilder() readWriteModel.NPDUBuilder

func (*WhoIsRouterToNetwork) Decode

func (w *WhoIsRouterToNetwork) Decode(npdu Arg) error

func (WhoIsRouterToNetwork) DeepCopy

func (n WhoIsRouterToNetwork) DeepCopy() any

func (*WhoIsRouterToNetwork) Encode

func (w *WhoIsRouterToNetwork) Encode(npdu Arg) error

func (WhoIsRouterToNetwork) GetApdu

func (n WhoIsRouterToNetwork) GetApdu() readWriteModel.APDU

func (WhoIsRouterToNetwork) GetControl

func (n WhoIsRouterToNetwork) GetControl() readWriteModel.NPDUControl

func (*WhoIsRouterToNetwork) GetDebugAttr

func (w *WhoIsRouterToNetwork) GetDebugAttr(attr string) any

func (WhoIsRouterToNetwork) GetDestinationAddress

func (n WhoIsRouterToNetwork) GetDestinationAddress() []uint8

func (WhoIsRouterToNetwork) GetDestinationLength

func (n WhoIsRouterToNetwork) GetDestinationLength() *uint8

func (WhoIsRouterToNetwork) GetDestinationLengthAddon

func (n WhoIsRouterToNetwork) GetDestinationLengthAddon() uint16

func (WhoIsRouterToNetwork) GetDestinationNetworkAddress

func (n WhoIsRouterToNetwork) GetDestinationNetworkAddress() *uint16

func (WhoIsRouterToNetwork) GetHopCount

func (n WhoIsRouterToNetwork) GetHopCount() *uint8

func (WhoIsRouterToNetwork) GetNlm

func (n WhoIsRouterToNetwork) GetNlm() readWriteModel.NLM

func (WhoIsRouterToNetwork) GetPayloadSubtraction

func (n WhoIsRouterToNetwork) GetPayloadSubtraction() uint16

func (WhoIsRouterToNetwork) GetProtocolVersionNumber

func (n WhoIsRouterToNetwork) GetProtocolVersionNumber() uint8

func (WhoIsRouterToNetwork) GetSourceAddress

func (n WhoIsRouterToNetwork) GetSourceAddress() []uint8

func (WhoIsRouterToNetwork) GetSourceLength

func (n WhoIsRouterToNetwork) GetSourceLength() *uint8

func (WhoIsRouterToNetwork) GetSourceLengthAddon

func (n WhoIsRouterToNetwork) GetSourceLengthAddon() uint16

func (WhoIsRouterToNetwork) GetSourceNetworkAddress

func (n WhoIsRouterToNetwork) GetSourceNetworkAddress() *uint16

func (*WhoIsRouterToNetwork) GetWirtnNetwork

func (w *WhoIsRouterToNetwork) GetWirtnNetwork() *uint16

func (WhoIsRouterToNetwork) IsNPDU

func (n WhoIsRouterToNetwork) IsNPDU()

Jump to

Keyboard shortcuts

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