Documentation ¶
Index ¶
- Constants
- Variables
- func EncodeToIEDataType(dataType IEDataType, val interface{}) ([]byte, error)
- func NewDataRecord(id uint16, numElements, numExtraElements int, isDecoding bool) *dataRecord
- func NewDataRecordFromElements(id uint16, elements []InfoElementWithValue, isDecoding bool) *dataRecord
- func NewTemplateRecord(id uint16, numElements int, isDecoding bool) *templateRecord
- func NewTemplateRecordFromElements(id uint16, elements []InfoElementWithValue, isDecoding bool) *templateRecord
- type BooleanInfoElement
- func (b *BooleanInfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *BooleanInfoElement) GetBooleanValue() bool
- func (b *BooleanInfoElement) GetDataType() IEDataType
- func (b *BooleanInfoElement) GetFloat32Value() float32
- func (b *BooleanInfoElement) GetFloat64Value() float64
- func (b *BooleanInfoElement) GetIPAddressValue() net.IP
- func (b *BooleanInfoElement) GetInfoElement() *InfoElement
- func (b *BooleanInfoElement) GetLength() int
- func (b *BooleanInfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *BooleanInfoElement) GetName() string
- func (b *BooleanInfoElement) GetSigned16Value() int16
- func (b *BooleanInfoElement) GetSigned32Value() int32
- func (b *BooleanInfoElement) GetSigned64Value() int64
- func (b *BooleanInfoElement) GetSigned8Value() int8
- func (b *BooleanInfoElement) GetStringValue() string
- func (b *BooleanInfoElement) GetUnsigned16Value() uint16
- func (b *BooleanInfoElement) GetUnsigned32Value() uint32
- func (b *BooleanInfoElement) GetUnsigned64Value() uint64
- func (b *BooleanInfoElement) GetUnsigned8Value() uint8
- func (b *BooleanInfoElement) IsValueEmpty() bool
- func (b *BooleanInfoElement) ResetValue()
- func (b *BooleanInfoElement) SetBooleanValue(val bool)
- func (b *BooleanInfoElement) SetFloat32Value(val float32)
- func (b *BooleanInfoElement) SetFloat64Value(val float64)
- func (b *BooleanInfoElement) SetIPAddressValue(val net.IP)
- func (b *BooleanInfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *BooleanInfoElement) SetSigned16Value(val int16)
- func (b *BooleanInfoElement) SetSigned32Value(val int32)
- func (b *BooleanInfoElement) SetSigned64Value(val int64)
- func (b *BooleanInfoElement) SetSigned8Value(val int8)
- func (b *BooleanInfoElement) SetStringValue(val string)
- func (b *BooleanInfoElement) SetUnsigned16Value(val uint16)
- func (b *BooleanInfoElement) SetUnsigned32Value(val uint32)
- func (b *BooleanInfoElement) SetUnsigned64Value(val uint64)
- func (b *BooleanInfoElement) SetUnsigned8Value(val uint8)
- type ContentType
- type DateTimeMillisecondsInfoElement
- func (b *DateTimeMillisecondsInfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *DateTimeMillisecondsInfoElement) GetBooleanValue() bool
- func (b *DateTimeMillisecondsInfoElement) GetDataType() IEDataType
- func (b *DateTimeMillisecondsInfoElement) GetFloat32Value() float32
- func (b *DateTimeMillisecondsInfoElement) GetFloat64Value() float64
- func (b *DateTimeMillisecondsInfoElement) GetIPAddressValue() net.IP
- func (b *DateTimeMillisecondsInfoElement) GetInfoElement() *InfoElement
- func (b *DateTimeMillisecondsInfoElement) GetLength() int
- func (b *DateTimeMillisecondsInfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *DateTimeMillisecondsInfoElement) GetName() string
- func (b *DateTimeMillisecondsInfoElement) GetSigned16Value() int16
- func (b *DateTimeMillisecondsInfoElement) GetSigned32Value() int32
- func (b *DateTimeMillisecondsInfoElement) GetSigned64Value() int64
- func (b *DateTimeMillisecondsInfoElement) GetSigned8Value() int8
- func (b *DateTimeMillisecondsInfoElement) GetStringValue() string
- func (b *DateTimeMillisecondsInfoElement) GetUnsigned16Value() uint16
- func (b *DateTimeMillisecondsInfoElement) GetUnsigned32Value() uint32
- func (dmsec *DateTimeMillisecondsInfoElement) GetUnsigned64Value() uint64
- func (b *DateTimeMillisecondsInfoElement) GetUnsigned8Value() uint8
- func (dmsec *DateTimeMillisecondsInfoElement) IsValueEmpty() bool
- func (dmsec *DateTimeMillisecondsInfoElement) ResetValue()
- func (b *DateTimeMillisecondsInfoElement) SetBooleanValue(val bool)
- func (b *DateTimeMillisecondsInfoElement) SetFloat32Value(val float32)
- func (b *DateTimeMillisecondsInfoElement) SetFloat64Value(val float64)
- func (b *DateTimeMillisecondsInfoElement) SetIPAddressValue(val net.IP)
- func (b *DateTimeMillisecondsInfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *DateTimeMillisecondsInfoElement) SetSigned16Value(val int16)
- func (b *DateTimeMillisecondsInfoElement) SetSigned32Value(val int32)
- func (b *DateTimeMillisecondsInfoElement) SetSigned64Value(val int64)
- func (b *DateTimeMillisecondsInfoElement) SetSigned8Value(val int8)
- func (b *DateTimeMillisecondsInfoElement) SetStringValue(val string)
- func (b *DateTimeMillisecondsInfoElement) SetUnsigned16Value(val uint16)
- func (b *DateTimeMillisecondsInfoElement) SetUnsigned32Value(val uint32)
- func (dmsec *DateTimeMillisecondsInfoElement) SetUnsigned64Value(val uint64)
- func (b *DateTimeMillisecondsInfoElement) SetUnsigned8Value(val uint8)
- type DateTimeSecondsInfoElement
- func (b *DateTimeSecondsInfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *DateTimeSecondsInfoElement) GetBooleanValue() bool
- func (b *DateTimeSecondsInfoElement) GetDataType() IEDataType
- func (b *DateTimeSecondsInfoElement) GetFloat32Value() float32
- func (b *DateTimeSecondsInfoElement) GetFloat64Value() float64
- func (b *DateTimeSecondsInfoElement) GetIPAddressValue() net.IP
- func (b *DateTimeSecondsInfoElement) GetInfoElement() *InfoElement
- func (b *DateTimeSecondsInfoElement) GetLength() int
- func (b *DateTimeSecondsInfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *DateTimeSecondsInfoElement) GetName() string
- func (b *DateTimeSecondsInfoElement) GetSigned16Value() int16
- func (b *DateTimeSecondsInfoElement) GetSigned32Value() int32
- func (b *DateTimeSecondsInfoElement) GetSigned64Value() int64
- func (b *DateTimeSecondsInfoElement) GetSigned8Value() int8
- func (b *DateTimeSecondsInfoElement) GetStringValue() string
- func (b *DateTimeSecondsInfoElement) GetUnsigned16Value() uint16
- func (dsec *DateTimeSecondsInfoElement) GetUnsigned32Value() uint32
- func (b *DateTimeSecondsInfoElement) GetUnsigned64Value() uint64
- func (b *DateTimeSecondsInfoElement) GetUnsigned8Value() uint8
- func (dsec *DateTimeSecondsInfoElement) IsValueEmpty() bool
- func (dsec *DateTimeSecondsInfoElement) ResetValue()
- func (b *DateTimeSecondsInfoElement) SetBooleanValue(val bool)
- func (b *DateTimeSecondsInfoElement) SetFloat32Value(val float32)
- func (b *DateTimeSecondsInfoElement) SetFloat64Value(val float64)
- func (b *DateTimeSecondsInfoElement) SetIPAddressValue(val net.IP)
- func (b *DateTimeSecondsInfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *DateTimeSecondsInfoElement) SetSigned16Value(val int16)
- func (b *DateTimeSecondsInfoElement) SetSigned32Value(val int32)
- func (b *DateTimeSecondsInfoElement) SetSigned64Value(val int64)
- func (b *DateTimeSecondsInfoElement) SetSigned8Value(val int8)
- func (b *DateTimeSecondsInfoElement) SetStringValue(val string)
- func (b *DateTimeSecondsInfoElement) SetUnsigned16Value(val uint16)
- func (dsec *DateTimeSecondsInfoElement) SetUnsigned32Value(val uint32)
- func (b *DateTimeSecondsInfoElement) SetUnsigned64Value(val uint64)
- func (b *DateTimeSecondsInfoElement) SetUnsigned8Value(val uint8)
- type Float32InfoElement
- func (b *Float32InfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *Float32InfoElement) GetBooleanValue() bool
- func (b *Float32InfoElement) GetDataType() IEDataType
- func (f32 *Float32InfoElement) GetFloat32Value() float32
- func (b *Float32InfoElement) GetFloat64Value() float64
- func (b *Float32InfoElement) GetIPAddressValue() net.IP
- func (b *Float32InfoElement) GetInfoElement() *InfoElement
- func (b *Float32InfoElement) GetLength() int
- func (b *Float32InfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *Float32InfoElement) GetName() string
- func (b *Float32InfoElement) GetSigned16Value() int16
- func (b *Float32InfoElement) GetSigned32Value() int32
- func (b *Float32InfoElement) GetSigned64Value() int64
- func (b *Float32InfoElement) GetSigned8Value() int8
- func (b *Float32InfoElement) GetStringValue() string
- func (b *Float32InfoElement) GetUnsigned16Value() uint16
- func (b *Float32InfoElement) GetUnsigned32Value() uint32
- func (b *Float32InfoElement) GetUnsigned64Value() uint64
- func (b *Float32InfoElement) GetUnsigned8Value() uint8
- func (f32 *Float32InfoElement) IsValueEmpty() bool
- func (f32 *Float32InfoElement) ResetValue()
- func (b *Float32InfoElement) SetBooleanValue(val bool)
- func (f32 *Float32InfoElement) SetFloat32Value(val float32)
- func (b *Float32InfoElement) SetFloat64Value(val float64)
- func (b *Float32InfoElement) SetIPAddressValue(val net.IP)
- func (b *Float32InfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *Float32InfoElement) SetSigned16Value(val int16)
- func (b *Float32InfoElement) SetSigned32Value(val int32)
- func (b *Float32InfoElement) SetSigned64Value(val int64)
- func (b *Float32InfoElement) SetSigned8Value(val int8)
- func (b *Float32InfoElement) SetStringValue(val string)
- func (b *Float32InfoElement) SetUnsigned16Value(val uint16)
- func (b *Float32InfoElement) SetUnsigned32Value(val uint32)
- func (b *Float32InfoElement) SetUnsigned64Value(val uint64)
- func (b *Float32InfoElement) SetUnsigned8Value(val uint8)
- type Float64InfoElement
- func (b *Float64InfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *Float64InfoElement) GetBooleanValue() bool
- func (b *Float64InfoElement) GetDataType() IEDataType
- func (b *Float64InfoElement) GetFloat32Value() float32
- func (f64 *Float64InfoElement) GetFloat64Value() float64
- func (b *Float64InfoElement) GetIPAddressValue() net.IP
- func (b *Float64InfoElement) GetInfoElement() *InfoElement
- func (b *Float64InfoElement) GetLength() int
- func (b *Float64InfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *Float64InfoElement) GetName() string
- func (b *Float64InfoElement) GetSigned16Value() int16
- func (b *Float64InfoElement) GetSigned32Value() int32
- func (b *Float64InfoElement) GetSigned64Value() int64
- func (b *Float64InfoElement) GetSigned8Value() int8
- func (b *Float64InfoElement) GetStringValue() string
- func (b *Float64InfoElement) GetUnsigned16Value() uint16
- func (b *Float64InfoElement) GetUnsigned32Value() uint32
- func (b *Float64InfoElement) GetUnsigned64Value() uint64
- func (b *Float64InfoElement) GetUnsigned8Value() uint8
- func (f64 *Float64InfoElement) IsValueEmpty() bool
- func (f64 *Float64InfoElement) ResetValue()
- func (b *Float64InfoElement) SetBooleanValue(val bool)
- func (b *Float64InfoElement) SetFloat32Value(val float32)
- func (f64 *Float64InfoElement) SetFloat64Value(val float64)
- func (b *Float64InfoElement) SetIPAddressValue(val net.IP)
- func (b *Float64InfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *Float64InfoElement) SetSigned16Value(val int16)
- func (b *Float64InfoElement) SetSigned32Value(val int32)
- func (b *Float64InfoElement) SetSigned64Value(val int64)
- func (b *Float64InfoElement) SetSigned8Value(val int8)
- func (b *Float64InfoElement) SetStringValue(val string)
- func (b *Float64InfoElement) SetUnsigned16Value(val uint16)
- func (b *Float64InfoElement) SetUnsigned32Value(val uint32)
- func (b *Float64InfoElement) SetUnsigned64Value(val uint64)
- func (b *Float64InfoElement) SetUnsigned8Value(val uint8)
- type IEDataType
- type IPAddressInfoElement
- func (b *IPAddressInfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *IPAddressInfoElement) GetBooleanValue() bool
- func (b *IPAddressInfoElement) GetDataType() IEDataType
- func (b *IPAddressInfoElement) GetFloat32Value() float32
- func (b *IPAddressInfoElement) GetFloat64Value() float64
- func (ip *IPAddressInfoElement) GetIPAddressValue() net.IP
- func (b *IPAddressInfoElement) GetInfoElement() *InfoElement
- func (b *IPAddressInfoElement) GetLength() int
- func (b *IPAddressInfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *IPAddressInfoElement) GetName() string
- func (b *IPAddressInfoElement) GetSigned16Value() int16
- func (b *IPAddressInfoElement) GetSigned32Value() int32
- func (b *IPAddressInfoElement) GetSigned64Value() int64
- func (b *IPAddressInfoElement) GetSigned8Value() int8
- func (b *IPAddressInfoElement) GetStringValue() string
- func (b *IPAddressInfoElement) GetUnsigned16Value() uint16
- func (b *IPAddressInfoElement) GetUnsigned32Value() uint32
- func (b *IPAddressInfoElement) GetUnsigned64Value() uint64
- func (b *IPAddressInfoElement) GetUnsigned8Value() uint8
- func (ip *IPAddressInfoElement) IsValueEmpty() bool
- func (ip *IPAddressInfoElement) ResetValue()
- func (b *IPAddressInfoElement) SetBooleanValue(val bool)
- func (b *IPAddressInfoElement) SetFloat32Value(val float32)
- func (b *IPAddressInfoElement) SetFloat64Value(val float64)
- func (ip *IPAddressInfoElement) SetIPAddressValue(val net.IP)
- func (b *IPAddressInfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *IPAddressInfoElement) SetSigned16Value(val int16)
- func (b *IPAddressInfoElement) SetSigned32Value(val int32)
- func (b *IPAddressInfoElement) SetSigned64Value(val int64)
- func (b *IPAddressInfoElement) SetSigned8Value(val int8)
- func (b *IPAddressInfoElement) SetStringValue(val string)
- func (b *IPAddressInfoElement) SetUnsigned16Value(val uint16)
- func (b *IPAddressInfoElement) SetUnsigned32Value(val uint32)
- func (b *IPAddressInfoElement) SetUnsigned64Value(val uint64)
- func (b *IPAddressInfoElement) SetUnsigned8Value(val uint8)
- type InfoElement
- type InfoElementWithValue
- type MacAddressInfoElement
- func (b *MacAddressInfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *MacAddressInfoElement) GetBooleanValue() bool
- func (b *MacAddressInfoElement) GetDataType() IEDataType
- func (b *MacAddressInfoElement) GetFloat32Value() float32
- func (b *MacAddressInfoElement) GetFloat64Value() float64
- func (b *MacAddressInfoElement) GetIPAddressValue() net.IP
- func (b *MacAddressInfoElement) GetInfoElement() *InfoElement
- func (b *MacAddressInfoElement) GetLength() int
- func (mac *MacAddressInfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *MacAddressInfoElement) GetName() string
- func (b *MacAddressInfoElement) GetSigned16Value() int16
- func (b *MacAddressInfoElement) GetSigned32Value() int32
- func (b *MacAddressInfoElement) GetSigned64Value() int64
- func (b *MacAddressInfoElement) GetSigned8Value() int8
- func (b *MacAddressInfoElement) GetStringValue() string
- func (b *MacAddressInfoElement) GetUnsigned16Value() uint16
- func (b *MacAddressInfoElement) GetUnsigned32Value() uint32
- func (b *MacAddressInfoElement) GetUnsigned64Value() uint64
- func (b *MacAddressInfoElement) GetUnsigned8Value() uint8
- func (mac *MacAddressInfoElement) IsValueEmpty() bool
- func (mac *MacAddressInfoElement) ResetValue()
- func (b *MacAddressInfoElement) SetBooleanValue(val bool)
- func (b *MacAddressInfoElement) SetFloat32Value(val float32)
- func (b *MacAddressInfoElement) SetFloat64Value(val float64)
- func (b *MacAddressInfoElement) SetIPAddressValue(val net.IP)
- func (mac *MacAddressInfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *MacAddressInfoElement) SetSigned16Value(val int16)
- func (b *MacAddressInfoElement) SetSigned32Value(val int32)
- func (b *MacAddressInfoElement) SetSigned64Value(val int64)
- func (b *MacAddressInfoElement) SetSigned8Value(val int8)
- func (b *MacAddressInfoElement) SetStringValue(val string)
- func (b *MacAddressInfoElement) SetUnsigned16Value(val uint16)
- func (b *MacAddressInfoElement) SetUnsigned32Value(val uint32)
- func (b *MacAddressInfoElement) SetUnsigned64Value(val uint64)
- func (b *MacAddressInfoElement) SetUnsigned8Value(val uint8)
- type Message
- func (m *Message) AddSet(set Set)
- func (m *Message) GetExportAddress() string
- func (m *Message) GetExportTime() uint32
- func (m *Message) GetMessageLen() uint16
- func (m *Message) GetMsgHeader() []byte
- func (m *Message) GetObsDomainID() uint32
- func (m *Message) GetSequenceNum() uint32
- func (m *Message) GetSet() Set
- func (m *Message) GetVersion() uint16
- func (m *Message) ResetMsgHeader()
- func (m *Message) SetExportAddress(ipAddr string)
- func (m *Message) SetExportTime(exportTime uint32)
- func (m *Message) SetMessageLen(len uint16)
- func (m *Message) SetObsDomainID(obsDomainID uint32)
- func (m *Message) SetSequenceNum(seqNum uint32)
- func (m *Message) SetVersion(version uint16)
- type Record
- type Set
- type Signed16InfoElement
- func (b *Signed16InfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *Signed16InfoElement) GetBooleanValue() bool
- func (b *Signed16InfoElement) GetDataType() IEDataType
- func (b *Signed16InfoElement) GetFloat32Value() float32
- func (b *Signed16InfoElement) GetFloat64Value() float64
- func (b *Signed16InfoElement) GetIPAddressValue() net.IP
- func (b *Signed16InfoElement) GetInfoElement() *InfoElement
- func (b *Signed16InfoElement) GetLength() int
- func (b *Signed16InfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *Signed16InfoElement) GetName() string
- func (i16 *Signed16InfoElement) GetSigned16Value() int16
- func (b *Signed16InfoElement) GetSigned32Value() int32
- func (b *Signed16InfoElement) GetSigned64Value() int64
- func (b *Signed16InfoElement) GetSigned8Value() int8
- func (b *Signed16InfoElement) GetStringValue() string
- func (b *Signed16InfoElement) GetUnsigned16Value() uint16
- func (b *Signed16InfoElement) GetUnsigned32Value() uint32
- func (b *Signed16InfoElement) GetUnsigned64Value() uint64
- func (b *Signed16InfoElement) GetUnsigned8Value() uint8
- func (i16 *Signed16InfoElement) IsValueEmpty() bool
- func (i16 *Signed16InfoElement) ResetValue()
- func (b *Signed16InfoElement) SetBooleanValue(val bool)
- func (b *Signed16InfoElement) SetFloat32Value(val float32)
- func (b *Signed16InfoElement) SetFloat64Value(val float64)
- func (b *Signed16InfoElement) SetIPAddressValue(val net.IP)
- func (b *Signed16InfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (i16 *Signed16InfoElement) SetSigned16Value(val int16)
- func (b *Signed16InfoElement) SetSigned32Value(val int32)
- func (b *Signed16InfoElement) SetSigned64Value(val int64)
- func (b *Signed16InfoElement) SetSigned8Value(val int8)
- func (b *Signed16InfoElement) SetStringValue(val string)
- func (b *Signed16InfoElement) SetUnsigned16Value(val uint16)
- func (b *Signed16InfoElement) SetUnsigned32Value(val uint32)
- func (b *Signed16InfoElement) SetUnsigned64Value(val uint64)
- func (b *Signed16InfoElement) SetUnsigned8Value(val uint8)
- type Signed32InfoElement
- func (b *Signed32InfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *Signed32InfoElement) GetBooleanValue() bool
- func (b *Signed32InfoElement) GetDataType() IEDataType
- func (b *Signed32InfoElement) GetFloat32Value() float32
- func (b *Signed32InfoElement) GetFloat64Value() float64
- func (b *Signed32InfoElement) GetIPAddressValue() net.IP
- func (b *Signed32InfoElement) GetInfoElement() *InfoElement
- func (b *Signed32InfoElement) GetLength() int
- func (b *Signed32InfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *Signed32InfoElement) GetName() string
- func (b *Signed32InfoElement) GetSigned16Value() int16
- func (i32 *Signed32InfoElement) GetSigned32Value() int32
- func (b *Signed32InfoElement) GetSigned64Value() int64
- func (b *Signed32InfoElement) GetSigned8Value() int8
- func (b *Signed32InfoElement) GetStringValue() string
- func (b *Signed32InfoElement) GetUnsigned16Value() uint16
- func (b *Signed32InfoElement) GetUnsigned32Value() uint32
- func (b *Signed32InfoElement) GetUnsigned64Value() uint64
- func (b *Signed32InfoElement) GetUnsigned8Value() uint8
- func (i32 *Signed32InfoElement) IsValueEmpty() bool
- func (i32 *Signed32InfoElement) ResetValue()
- func (b *Signed32InfoElement) SetBooleanValue(val bool)
- func (b *Signed32InfoElement) SetFloat32Value(val float32)
- func (b *Signed32InfoElement) SetFloat64Value(val float64)
- func (b *Signed32InfoElement) SetIPAddressValue(val net.IP)
- func (b *Signed32InfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *Signed32InfoElement) SetSigned16Value(val int16)
- func (i32 *Signed32InfoElement) SetSigned32Value(val int32)
- func (b *Signed32InfoElement) SetSigned64Value(val int64)
- func (b *Signed32InfoElement) SetSigned8Value(val int8)
- func (b *Signed32InfoElement) SetStringValue(val string)
- func (b *Signed32InfoElement) SetUnsigned16Value(val uint16)
- func (b *Signed32InfoElement) SetUnsigned32Value(val uint32)
- func (b *Signed32InfoElement) SetUnsigned64Value(val uint64)
- func (b *Signed32InfoElement) SetUnsigned8Value(val uint8)
- type Signed64InfoElement
- func (b *Signed64InfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *Signed64InfoElement) GetBooleanValue() bool
- func (b *Signed64InfoElement) GetDataType() IEDataType
- func (b *Signed64InfoElement) GetFloat32Value() float32
- func (b *Signed64InfoElement) GetFloat64Value() float64
- func (b *Signed64InfoElement) GetIPAddressValue() net.IP
- func (b *Signed64InfoElement) GetInfoElement() *InfoElement
- func (b *Signed64InfoElement) GetLength() int
- func (b *Signed64InfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *Signed64InfoElement) GetName() string
- func (b *Signed64InfoElement) GetSigned16Value() int16
- func (b *Signed64InfoElement) GetSigned32Value() int32
- func (i64 *Signed64InfoElement) GetSigned64Value() int64
- func (b *Signed64InfoElement) GetSigned8Value() int8
- func (b *Signed64InfoElement) GetStringValue() string
- func (b *Signed64InfoElement) GetUnsigned16Value() uint16
- func (b *Signed64InfoElement) GetUnsigned32Value() uint32
- func (b *Signed64InfoElement) GetUnsigned64Value() uint64
- func (b *Signed64InfoElement) GetUnsigned8Value() uint8
- func (i64 *Signed64InfoElement) IsValueEmpty() bool
- func (i64 *Signed64InfoElement) ResetValue()
- func (b *Signed64InfoElement) SetBooleanValue(val bool)
- func (b *Signed64InfoElement) SetFloat32Value(val float32)
- func (b *Signed64InfoElement) SetFloat64Value(val float64)
- func (b *Signed64InfoElement) SetIPAddressValue(val net.IP)
- func (b *Signed64InfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *Signed64InfoElement) SetSigned16Value(val int16)
- func (b *Signed64InfoElement) SetSigned32Value(val int32)
- func (i64 *Signed64InfoElement) SetSigned64Value(val int64)
- func (b *Signed64InfoElement) SetSigned8Value(val int8)
- func (b *Signed64InfoElement) SetStringValue(val string)
- func (b *Signed64InfoElement) SetUnsigned16Value(val uint16)
- func (b *Signed64InfoElement) SetUnsigned32Value(val uint32)
- func (b *Signed64InfoElement) SetUnsigned64Value(val uint64)
- func (b *Signed64InfoElement) SetUnsigned8Value(val uint8)
- type Signed8InfoElement
- func (b *Signed8InfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *Signed8InfoElement) GetBooleanValue() bool
- func (b *Signed8InfoElement) GetDataType() IEDataType
- func (b *Signed8InfoElement) GetFloat32Value() float32
- func (b *Signed8InfoElement) GetFloat64Value() float64
- func (b *Signed8InfoElement) GetIPAddressValue() net.IP
- func (b *Signed8InfoElement) GetInfoElement() *InfoElement
- func (b *Signed8InfoElement) GetLength() int
- func (b *Signed8InfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *Signed8InfoElement) GetName() string
- func (b *Signed8InfoElement) GetSigned16Value() int16
- func (b *Signed8InfoElement) GetSigned32Value() int32
- func (b *Signed8InfoElement) GetSigned64Value() int64
- func (i8 *Signed8InfoElement) GetSigned8Value() int8
- func (b *Signed8InfoElement) GetStringValue() string
- func (b *Signed8InfoElement) GetUnsigned16Value() uint16
- func (b *Signed8InfoElement) GetUnsigned32Value() uint32
- func (b *Signed8InfoElement) GetUnsigned64Value() uint64
- func (b *Signed8InfoElement) GetUnsigned8Value() uint8
- func (i8 *Signed8InfoElement) IsValueEmpty() bool
- func (i8 *Signed8InfoElement) ResetValue()
- func (b *Signed8InfoElement) SetBooleanValue(val bool)
- func (b *Signed8InfoElement) SetFloat32Value(val float32)
- func (b *Signed8InfoElement) SetFloat64Value(val float64)
- func (b *Signed8InfoElement) SetIPAddressValue(val net.IP)
- func (b *Signed8InfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *Signed8InfoElement) SetSigned16Value(val int16)
- func (b *Signed8InfoElement) SetSigned32Value(val int32)
- func (b *Signed8InfoElement) SetSigned64Value(val int64)
- func (i8 *Signed8InfoElement) SetSigned8Value(val int8)
- func (b *Signed8InfoElement) SetStringValue(val string)
- func (b *Signed8InfoElement) SetUnsigned16Value(val uint16)
- func (b *Signed8InfoElement) SetUnsigned32Value(val uint32)
- func (b *Signed8InfoElement) SetUnsigned64Value(val uint64)
- func (b *Signed8InfoElement) SetUnsigned8Value(val uint8)
- type StringInfoElement
- func (b *StringInfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *StringInfoElement) GetBooleanValue() bool
- func (b *StringInfoElement) GetDataType() IEDataType
- func (b *StringInfoElement) GetFloat32Value() float32
- func (b *StringInfoElement) GetFloat64Value() float64
- func (b *StringInfoElement) GetIPAddressValue() net.IP
- func (b *StringInfoElement) GetInfoElement() *InfoElement
- func (s *StringInfoElement) GetLength() int
- func (b *StringInfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *StringInfoElement) GetName() string
- func (b *StringInfoElement) GetSigned16Value() int16
- func (b *StringInfoElement) GetSigned32Value() int32
- func (b *StringInfoElement) GetSigned64Value() int64
- func (b *StringInfoElement) GetSigned8Value() int8
- func (s *StringInfoElement) GetStringValue() string
- func (b *StringInfoElement) GetUnsigned16Value() uint16
- func (b *StringInfoElement) GetUnsigned32Value() uint32
- func (b *StringInfoElement) GetUnsigned64Value() uint64
- func (b *StringInfoElement) GetUnsigned8Value() uint8
- func (s *StringInfoElement) IsValueEmpty() bool
- func (s *StringInfoElement) ResetValue()
- func (b *StringInfoElement) SetBooleanValue(val bool)
- func (b *StringInfoElement) SetFloat32Value(val float32)
- func (b *StringInfoElement) SetFloat64Value(val float64)
- func (b *StringInfoElement) SetIPAddressValue(val net.IP)
- func (b *StringInfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *StringInfoElement) SetSigned16Value(val int16)
- func (b *StringInfoElement) SetSigned32Value(val int32)
- func (b *StringInfoElement) SetSigned64Value(val int64)
- func (b *StringInfoElement) SetSigned8Value(val int8)
- func (s *StringInfoElement) SetStringValue(val string)
- func (b *StringInfoElement) SetUnsigned16Value(val uint16)
- func (b *StringInfoElement) SetUnsigned32Value(val uint32)
- func (b *StringInfoElement) SetUnsigned64Value(val uint64)
- func (b *StringInfoElement) SetUnsigned8Value(val uint8)
- type Unsigned16InfoElement
- func (b *Unsigned16InfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *Unsigned16InfoElement) GetBooleanValue() bool
- func (b *Unsigned16InfoElement) GetDataType() IEDataType
- func (b *Unsigned16InfoElement) GetFloat32Value() float32
- func (b *Unsigned16InfoElement) GetFloat64Value() float64
- func (b *Unsigned16InfoElement) GetIPAddressValue() net.IP
- func (b *Unsigned16InfoElement) GetInfoElement() *InfoElement
- func (b *Unsigned16InfoElement) GetLength() int
- func (b *Unsigned16InfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *Unsigned16InfoElement) GetName() string
- func (b *Unsigned16InfoElement) GetSigned16Value() int16
- func (b *Unsigned16InfoElement) GetSigned32Value() int32
- func (b *Unsigned16InfoElement) GetSigned64Value() int64
- func (b *Unsigned16InfoElement) GetSigned8Value() int8
- func (b *Unsigned16InfoElement) GetStringValue() string
- func (u16 *Unsigned16InfoElement) GetUnsigned16Value() uint16
- func (b *Unsigned16InfoElement) GetUnsigned32Value() uint32
- func (b *Unsigned16InfoElement) GetUnsigned64Value() uint64
- func (b *Unsigned16InfoElement) GetUnsigned8Value() uint8
- func (u16 *Unsigned16InfoElement) IsValueEmpty() bool
- func (u16 *Unsigned16InfoElement) ResetValue()
- func (b *Unsigned16InfoElement) SetBooleanValue(val bool)
- func (b *Unsigned16InfoElement) SetFloat32Value(val float32)
- func (b *Unsigned16InfoElement) SetFloat64Value(val float64)
- func (b *Unsigned16InfoElement) SetIPAddressValue(val net.IP)
- func (b *Unsigned16InfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *Unsigned16InfoElement) SetSigned16Value(val int16)
- func (b *Unsigned16InfoElement) SetSigned32Value(val int32)
- func (b *Unsigned16InfoElement) SetSigned64Value(val int64)
- func (b *Unsigned16InfoElement) SetSigned8Value(val int8)
- func (b *Unsigned16InfoElement) SetStringValue(val string)
- func (u16 *Unsigned16InfoElement) SetUnsigned16Value(val uint16)
- func (b *Unsigned16InfoElement) SetUnsigned32Value(val uint32)
- func (b *Unsigned16InfoElement) SetUnsigned64Value(val uint64)
- func (b *Unsigned16InfoElement) SetUnsigned8Value(val uint8)
- type Unsigned32InfoElement
- func (b *Unsigned32InfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *Unsigned32InfoElement) GetBooleanValue() bool
- func (b *Unsigned32InfoElement) GetDataType() IEDataType
- func (b *Unsigned32InfoElement) GetFloat32Value() float32
- func (b *Unsigned32InfoElement) GetFloat64Value() float64
- func (b *Unsigned32InfoElement) GetIPAddressValue() net.IP
- func (b *Unsigned32InfoElement) GetInfoElement() *InfoElement
- func (b *Unsigned32InfoElement) GetLength() int
- func (b *Unsigned32InfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *Unsigned32InfoElement) GetName() string
- func (b *Unsigned32InfoElement) GetSigned16Value() int16
- func (b *Unsigned32InfoElement) GetSigned32Value() int32
- func (b *Unsigned32InfoElement) GetSigned64Value() int64
- func (b *Unsigned32InfoElement) GetSigned8Value() int8
- func (b *Unsigned32InfoElement) GetStringValue() string
- func (b *Unsigned32InfoElement) GetUnsigned16Value() uint16
- func (u32 *Unsigned32InfoElement) GetUnsigned32Value() uint32
- func (b *Unsigned32InfoElement) GetUnsigned64Value() uint64
- func (b *Unsigned32InfoElement) GetUnsigned8Value() uint8
- func (u32 *Unsigned32InfoElement) IsValueEmpty() bool
- func (u32 *Unsigned32InfoElement) ResetValue()
- func (b *Unsigned32InfoElement) SetBooleanValue(val bool)
- func (b *Unsigned32InfoElement) SetFloat32Value(val float32)
- func (b *Unsigned32InfoElement) SetFloat64Value(val float64)
- func (b *Unsigned32InfoElement) SetIPAddressValue(val net.IP)
- func (b *Unsigned32InfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *Unsigned32InfoElement) SetSigned16Value(val int16)
- func (b *Unsigned32InfoElement) SetSigned32Value(val int32)
- func (b *Unsigned32InfoElement) SetSigned64Value(val int64)
- func (b *Unsigned32InfoElement) SetSigned8Value(val int8)
- func (b *Unsigned32InfoElement) SetStringValue(val string)
- func (b *Unsigned32InfoElement) SetUnsigned16Value(val uint16)
- func (u32 *Unsigned32InfoElement) SetUnsigned32Value(val uint32)
- func (b *Unsigned32InfoElement) SetUnsigned64Value(val uint64)
- func (b *Unsigned32InfoElement) SetUnsigned8Value(val uint8)
- type Unsigned64InfoElement
- func (b *Unsigned64InfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *Unsigned64InfoElement) GetBooleanValue() bool
- func (b *Unsigned64InfoElement) GetDataType() IEDataType
- func (b *Unsigned64InfoElement) GetFloat32Value() float32
- func (b *Unsigned64InfoElement) GetFloat64Value() float64
- func (b *Unsigned64InfoElement) GetIPAddressValue() net.IP
- func (b *Unsigned64InfoElement) GetInfoElement() *InfoElement
- func (b *Unsigned64InfoElement) GetLength() int
- func (b *Unsigned64InfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *Unsigned64InfoElement) GetName() string
- func (b *Unsigned64InfoElement) GetSigned16Value() int16
- func (b *Unsigned64InfoElement) GetSigned32Value() int32
- func (b *Unsigned64InfoElement) GetSigned64Value() int64
- func (b *Unsigned64InfoElement) GetSigned8Value() int8
- func (b *Unsigned64InfoElement) GetStringValue() string
- func (b *Unsigned64InfoElement) GetUnsigned16Value() uint16
- func (b *Unsigned64InfoElement) GetUnsigned32Value() uint32
- func (u64 *Unsigned64InfoElement) GetUnsigned64Value() uint64
- func (b *Unsigned64InfoElement) GetUnsigned8Value() uint8
- func (u64 *Unsigned64InfoElement) IsValueEmpty() bool
- func (u64 *Unsigned64InfoElement) ResetValue()
- func (b *Unsigned64InfoElement) SetBooleanValue(val bool)
- func (b *Unsigned64InfoElement) SetFloat32Value(val float32)
- func (b *Unsigned64InfoElement) SetFloat64Value(val float64)
- func (b *Unsigned64InfoElement) SetIPAddressValue(val net.IP)
- func (b *Unsigned64InfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *Unsigned64InfoElement) SetSigned16Value(val int16)
- func (b *Unsigned64InfoElement) SetSigned32Value(val int32)
- func (b *Unsigned64InfoElement) SetSigned64Value(val int64)
- func (b *Unsigned64InfoElement) SetSigned8Value(val int8)
- func (b *Unsigned64InfoElement) SetStringValue(val string)
- func (b *Unsigned64InfoElement) SetUnsigned16Value(val uint16)
- func (b *Unsigned64InfoElement) SetUnsigned32Value(val uint32)
- func (u64 *Unsigned64InfoElement) SetUnsigned64Value(val uint64)
- func (b *Unsigned64InfoElement) SetUnsigned8Value(val uint8)
- type Unsigned8InfoElement
- func (b *Unsigned8InfoElement) AddInfoElement(infoElement *InfoElement)
- func (b *Unsigned8InfoElement) GetBooleanValue() bool
- func (b *Unsigned8InfoElement) GetDataType() IEDataType
- func (b *Unsigned8InfoElement) GetFloat32Value() float32
- func (b *Unsigned8InfoElement) GetFloat64Value() float64
- func (b *Unsigned8InfoElement) GetIPAddressValue() net.IP
- func (b *Unsigned8InfoElement) GetInfoElement() *InfoElement
- func (b *Unsigned8InfoElement) GetLength() int
- func (b *Unsigned8InfoElement) GetMacAddressValue() net.HardwareAddr
- func (b *Unsigned8InfoElement) GetName() string
- func (b *Unsigned8InfoElement) GetSigned16Value() int16
- func (b *Unsigned8InfoElement) GetSigned32Value() int32
- func (b *Unsigned8InfoElement) GetSigned64Value() int64
- func (b *Unsigned8InfoElement) GetSigned8Value() int8
- func (b *Unsigned8InfoElement) GetStringValue() string
- func (b *Unsigned8InfoElement) GetUnsigned16Value() uint16
- func (b *Unsigned8InfoElement) GetUnsigned32Value() uint32
- func (b *Unsigned8InfoElement) GetUnsigned64Value() uint64
- func (u8 *Unsigned8InfoElement) GetUnsigned8Value() uint8
- func (u8 *Unsigned8InfoElement) IsValueEmpty() bool
- func (u8 *Unsigned8InfoElement) ResetValue()
- func (b *Unsigned8InfoElement) SetBooleanValue(val bool)
- func (b *Unsigned8InfoElement) SetFloat32Value(val float32)
- func (b *Unsigned8InfoElement) SetFloat64Value(val float64)
- func (b *Unsigned8InfoElement) SetIPAddressValue(val net.IP)
- func (b *Unsigned8InfoElement) SetMacAddressValue(val net.HardwareAddr)
- func (b *Unsigned8InfoElement) SetSigned16Value(val int16)
- func (b *Unsigned8InfoElement) SetSigned32Value(val int32)
- func (b *Unsigned8InfoElement) SetSigned64Value(val int64)
- func (b *Unsigned8InfoElement) SetSigned8Value(val int8)
- func (b *Unsigned8InfoElement) SetStringValue(val string)
- func (b *Unsigned8InfoElement) SetUnsigned16Value(val uint16)
- func (b *Unsigned8InfoElement) SetUnsigned32Value(val uint32)
- func (b *Unsigned8InfoElement) SetUnsigned64Value(val uint64)
- func (u8 *Unsigned8InfoElement) SetUnsigned8Value(val uint8)
Constants ¶
View Source
const ( MaxSocketMsgSize int = 65535 MsgHeaderLength int = 16 )
View Source
const ( // TemplateRefreshTimeOut is the template refresh time out for exporting process // The default is based on https://datatracker.ietf.org/doc/html/rfc5153#section-6.2 // and https://datatracker.ietf.org/doc/html/rfc6728#section-4.4.2 TemplateRefreshTimeOut uint32 = 600 // TemplateTTL is the template time to live for collecting process // See https://datatracker.ietf.org/doc/html/rfc6728#section-4.5.2 TemplateTTL = TemplateRefreshTimeOut * 3 // TemplateSetID is the setID for template record TemplateSetID uint16 = 2 SetHeaderLen int = 4 )
View Source
const VariableLength uint16 = 65535
Variables ¶
View Source
var InfoElementLength = map[IEDataType]uint16{ OctetArray: VariableLength, Unsigned8: 1, Unsigned16: 2, Unsigned32: 4, Unsigned64: 8, Signed8: 1, Signed16: 2, Signed32: 4, Signed64: 8, Float32: 4, Float64: 8, Boolean: 1, MacAddress: 6, String: VariableLength, DateTimeSeconds: 4, DateTimeMilliseconds: 8, DateTimeMicroseconds: 8, DateTimeNanoseconds: 8, Ipv4Address: 4, Ipv6Address: 16, BasicList: VariableLength, SubTemplateList: VariableLength, SubTemplateMultiList: VariableLength, InvalidDataType: 0, }
Functions ¶
func EncodeToIEDataType ¶ added in v0.3.0
func EncodeToIEDataType(dataType IEDataType, val interface{}) ([]byte, error)
EncodeToIEDataType is to encode data to specific type to the buff. This is only used for testing.
func NewDataRecord ¶
func NewDataRecordFromElements ¶ added in v0.8.1
func NewDataRecordFromElements(id uint16, elements []InfoElementWithValue, isDecoding bool) *dataRecord
func NewTemplateRecord ¶
func NewTemplateRecordFromElements ¶ added in v0.8.1
func NewTemplateRecordFromElements(id uint16, elements []InfoElementWithValue, isDecoding bool) *templateRecord
Types ¶
type BooleanInfoElement ¶ added in v0.5.8
type BooleanInfoElement struct {
// contains filtered or unexported fields
}
func NewBoolInfoElement ¶ added in v0.5.8
func NewBoolInfoElement(element *InfoElement, val bool) *BooleanInfoElement
func (*BooleanInfoElement) AddInfoElement ¶ added in v0.5.8
func (b *BooleanInfoElement) AddInfoElement(infoElement *InfoElement)
func (*BooleanInfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *BooleanInfoElement) GetBooleanValue() bool
func (*BooleanInfoElement) GetDataType ¶ added in v0.5.9
func (b *BooleanInfoElement) GetDataType() IEDataType
func (*BooleanInfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *BooleanInfoElement) GetFloat32Value() float32
func (*BooleanInfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *BooleanInfoElement) GetFloat64Value() float64
func (*BooleanInfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*BooleanInfoElement) GetInfoElement ¶ added in v0.5.8
func (b *BooleanInfoElement) GetInfoElement() *InfoElement
func (*BooleanInfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *BooleanInfoElement) GetMacAddressValue() net.HardwareAddr
func (*BooleanInfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *BooleanInfoElement) GetSigned16Value() int16
func (*BooleanInfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *BooleanInfoElement) GetSigned32Value() int32
func (*BooleanInfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *BooleanInfoElement) GetSigned64Value() int64
func (*BooleanInfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *BooleanInfoElement) GetSigned8Value() int8
func (*BooleanInfoElement) GetStringValue ¶ added in v0.5.8
func (b *BooleanInfoElement) GetStringValue() string
func (*BooleanInfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *BooleanInfoElement) GetUnsigned16Value() uint16
func (*BooleanInfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *BooleanInfoElement) GetUnsigned32Value() uint32
func (*BooleanInfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *BooleanInfoElement) GetUnsigned64Value() uint64
func (*BooleanInfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *BooleanInfoElement) GetUnsigned8Value() uint8
func (*BooleanInfoElement) IsValueEmpty ¶ added in v0.5.8
func (b *BooleanInfoElement) IsValueEmpty() bool
func (*BooleanInfoElement) ResetValue ¶ added in v0.5.8
func (b *BooleanInfoElement) ResetValue()
func (*BooleanInfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *BooleanInfoElement) SetBooleanValue(val bool)
func (*BooleanInfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *BooleanInfoElement) SetFloat32Value(val float32)
func (*BooleanInfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *BooleanInfoElement) SetFloat64Value(val float64)
func (*BooleanInfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*BooleanInfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *BooleanInfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*BooleanInfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *BooleanInfoElement) SetSigned16Value(val int16)
func (*BooleanInfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *BooleanInfoElement) SetSigned32Value(val int32)
func (*BooleanInfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *BooleanInfoElement) SetSigned64Value(val int64)
func (*BooleanInfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *BooleanInfoElement) SetSigned8Value(val int8)
func (*BooleanInfoElement) SetStringValue ¶ added in v0.5.8
func (b *BooleanInfoElement) SetStringValue(val string)
func (*BooleanInfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *BooleanInfoElement) SetUnsigned16Value(val uint16)
func (*BooleanInfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *BooleanInfoElement) SetUnsigned32Value(val uint32)
func (*BooleanInfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *BooleanInfoElement) SetUnsigned64Value(val uint64)
func (*BooleanInfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *BooleanInfoElement) SetUnsigned8Value(val uint8)
type ContentType ¶
type ContentType uint8
const ( Template ContentType = iota Data // Add OptionsTemplate too when it is supported Undefined = 255 )
type DateTimeMillisecondsInfoElement ¶ added in v0.5.8
type DateTimeMillisecondsInfoElement struct {
// contains filtered or unexported fields
}
func NewDateTimeMillisecondsInfoElement ¶ added in v0.5.8
func NewDateTimeMillisecondsInfoElement(element *InfoElement, val uint64) *DateTimeMillisecondsInfoElement
func (*DateTimeMillisecondsInfoElement) AddInfoElement ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) AddInfoElement(infoElement *InfoElement)
func (*DateTimeMillisecondsInfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetBooleanValue() bool
func (*DateTimeMillisecondsInfoElement) GetDataType ¶ added in v0.5.9
func (b *DateTimeMillisecondsInfoElement) GetDataType() IEDataType
func (*DateTimeMillisecondsInfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetFloat32Value() float32
func (*DateTimeMillisecondsInfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetFloat64Value() float64
func (*DateTimeMillisecondsInfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*DateTimeMillisecondsInfoElement) GetInfoElement ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetInfoElement() *InfoElement
func (*DateTimeMillisecondsInfoElement) GetLength ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetLength() int
func (*DateTimeMillisecondsInfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetMacAddressValue() net.HardwareAddr
func (*DateTimeMillisecondsInfoElement) GetName ¶ added in v0.5.9
func (b *DateTimeMillisecondsInfoElement) GetName() string
func (*DateTimeMillisecondsInfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetSigned16Value() int16
func (*DateTimeMillisecondsInfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetSigned32Value() int32
func (*DateTimeMillisecondsInfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetSigned64Value() int64
func (*DateTimeMillisecondsInfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetSigned8Value() int8
func (*DateTimeMillisecondsInfoElement) GetStringValue ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetStringValue() string
func (*DateTimeMillisecondsInfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetUnsigned16Value() uint16
func (*DateTimeMillisecondsInfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetUnsigned32Value() uint32
func (*DateTimeMillisecondsInfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (dmsec *DateTimeMillisecondsInfoElement) GetUnsigned64Value() uint64
func (*DateTimeMillisecondsInfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) GetUnsigned8Value() uint8
func (*DateTimeMillisecondsInfoElement) IsValueEmpty ¶ added in v0.5.8
func (dmsec *DateTimeMillisecondsInfoElement) IsValueEmpty() bool
func (*DateTimeMillisecondsInfoElement) ResetValue ¶ added in v0.5.8
func (dmsec *DateTimeMillisecondsInfoElement) ResetValue()
func (*DateTimeMillisecondsInfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) SetBooleanValue(val bool)
func (*DateTimeMillisecondsInfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) SetFloat32Value(val float32)
func (*DateTimeMillisecondsInfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) SetFloat64Value(val float64)
func (*DateTimeMillisecondsInfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*DateTimeMillisecondsInfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*DateTimeMillisecondsInfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) SetSigned16Value(val int16)
func (*DateTimeMillisecondsInfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) SetSigned32Value(val int32)
func (*DateTimeMillisecondsInfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) SetSigned64Value(val int64)
func (*DateTimeMillisecondsInfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) SetSigned8Value(val int8)
func (*DateTimeMillisecondsInfoElement) SetStringValue ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) SetStringValue(val string)
func (*DateTimeMillisecondsInfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) SetUnsigned16Value(val uint16)
func (*DateTimeMillisecondsInfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) SetUnsigned32Value(val uint32)
func (*DateTimeMillisecondsInfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (dmsec *DateTimeMillisecondsInfoElement) SetUnsigned64Value(val uint64)
func (*DateTimeMillisecondsInfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *DateTimeMillisecondsInfoElement) SetUnsigned8Value(val uint8)
type DateTimeSecondsInfoElement ¶ added in v0.5.8
type DateTimeSecondsInfoElement struct {
// contains filtered or unexported fields
}
func NewDateTimeSecondsInfoElement ¶ added in v0.5.8
func NewDateTimeSecondsInfoElement(element *InfoElement, val uint32) *DateTimeSecondsInfoElement
func (*DateTimeSecondsInfoElement) AddInfoElement ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) AddInfoElement(infoElement *InfoElement)
func (*DateTimeSecondsInfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetBooleanValue() bool
func (*DateTimeSecondsInfoElement) GetDataType ¶ added in v0.5.9
func (b *DateTimeSecondsInfoElement) GetDataType() IEDataType
func (*DateTimeSecondsInfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetFloat32Value() float32
func (*DateTimeSecondsInfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetFloat64Value() float64
func (*DateTimeSecondsInfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*DateTimeSecondsInfoElement) GetInfoElement ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetInfoElement() *InfoElement
func (*DateTimeSecondsInfoElement) GetLength ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetLength() int
func (*DateTimeSecondsInfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetMacAddressValue() net.HardwareAddr
func (*DateTimeSecondsInfoElement) GetName ¶ added in v0.5.9
func (b *DateTimeSecondsInfoElement) GetName() string
func (*DateTimeSecondsInfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetSigned16Value() int16
func (*DateTimeSecondsInfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetSigned32Value() int32
func (*DateTimeSecondsInfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetSigned64Value() int64
func (*DateTimeSecondsInfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetSigned8Value() int8
func (*DateTimeSecondsInfoElement) GetStringValue ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetStringValue() string
func (*DateTimeSecondsInfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetUnsigned16Value() uint16
func (*DateTimeSecondsInfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (dsec *DateTimeSecondsInfoElement) GetUnsigned32Value() uint32
func (*DateTimeSecondsInfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetUnsigned64Value() uint64
func (*DateTimeSecondsInfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) GetUnsigned8Value() uint8
func (*DateTimeSecondsInfoElement) IsValueEmpty ¶ added in v0.5.8
func (dsec *DateTimeSecondsInfoElement) IsValueEmpty() bool
func (*DateTimeSecondsInfoElement) ResetValue ¶ added in v0.5.8
func (dsec *DateTimeSecondsInfoElement) ResetValue()
func (*DateTimeSecondsInfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) SetBooleanValue(val bool)
func (*DateTimeSecondsInfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) SetFloat32Value(val float32)
func (*DateTimeSecondsInfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) SetFloat64Value(val float64)
func (*DateTimeSecondsInfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*DateTimeSecondsInfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*DateTimeSecondsInfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) SetSigned16Value(val int16)
func (*DateTimeSecondsInfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) SetSigned32Value(val int32)
func (*DateTimeSecondsInfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) SetSigned64Value(val int64)
func (*DateTimeSecondsInfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) SetSigned8Value(val int8)
func (*DateTimeSecondsInfoElement) SetStringValue ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) SetStringValue(val string)
func (*DateTimeSecondsInfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) SetUnsigned16Value(val uint16)
func (*DateTimeSecondsInfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (dsec *DateTimeSecondsInfoElement) SetUnsigned32Value(val uint32)
func (*DateTimeSecondsInfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) SetUnsigned64Value(val uint64)
func (*DateTimeSecondsInfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *DateTimeSecondsInfoElement) SetUnsigned8Value(val uint8)
type Float32InfoElement ¶ added in v0.5.8
type Float32InfoElement struct {
// contains filtered or unexported fields
}
func NewFloat32InfoElement ¶ added in v0.5.8
func NewFloat32InfoElement(element *InfoElement, val float32) *Float32InfoElement
func (*Float32InfoElement) AddInfoElement ¶ added in v0.5.8
func (b *Float32InfoElement) AddInfoElement(infoElement *InfoElement)
func (*Float32InfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *Float32InfoElement) GetBooleanValue() bool
func (*Float32InfoElement) GetDataType ¶ added in v0.5.9
func (b *Float32InfoElement) GetDataType() IEDataType
func (*Float32InfoElement) GetFloat32Value ¶ added in v0.5.8
func (f32 *Float32InfoElement) GetFloat32Value() float32
func (*Float32InfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *Float32InfoElement) GetFloat64Value() float64
func (*Float32InfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*Float32InfoElement) GetInfoElement ¶ added in v0.5.8
func (b *Float32InfoElement) GetInfoElement() *InfoElement
func (*Float32InfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *Float32InfoElement) GetMacAddressValue() net.HardwareAddr
func (*Float32InfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *Float32InfoElement) GetSigned16Value() int16
func (*Float32InfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *Float32InfoElement) GetSigned32Value() int32
func (*Float32InfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *Float32InfoElement) GetSigned64Value() int64
func (*Float32InfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *Float32InfoElement) GetSigned8Value() int8
func (*Float32InfoElement) GetStringValue ¶ added in v0.5.8
func (b *Float32InfoElement) GetStringValue() string
func (*Float32InfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *Float32InfoElement) GetUnsigned16Value() uint16
func (*Float32InfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *Float32InfoElement) GetUnsigned32Value() uint32
func (*Float32InfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *Float32InfoElement) GetUnsigned64Value() uint64
func (*Float32InfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *Float32InfoElement) GetUnsigned8Value() uint8
func (*Float32InfoElement) IsValueEmpty ¶ added in v0.5.8
func (f32 *Float32InfoElement) IsValueEmpty() bool
func (*Float32InfoElement) ResetValue ¶ added in v0.5.8
func (f32 *Float32InfoElement) ResetValue()
func (*Float32InfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *Float32InfoElement) SetBooleanValue(val bool)
func (*Float32InfoElement) SetFloat32Value ¶ added in v0.5.8
func (f32 *Float32InfoElement) SetFloat32Value(val float32)
func (*Float32InfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *Float32InfoElement) SetFloat64Value(val float64)
func (*Float32InfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*Float32InfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *Float32InfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*Float32InfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *Float32InfoElement) SetSigned16Value(val int16)
func (*Float32InfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *Float32InfoElement) SetSigned32Value(val int32)
func (*Float32InfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *Float32InfoElement) SetSigned64Value(val int64)
func (*Float32InfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *Float32InfoElement) SetSigned8Value(val int8)
func (*Float32InfoElement) SetStringValue ¶ added in v0.5.8
func (b *Float32InfoElement) SetStringValue(val string)
func (*Float32InfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *Float32InfoElement) SetUnsigned16Value(val uint16)
func (*Float32InfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *Float32InfoElement) SetUnsigned32Value(val uint32)
func (*Float32InfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *Float32InfoElement) SetUnsigned64Value(val uint64)
func (*Float32InfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *Float32InfoElement) SetUnsigned8Value(val uint8)
type Float64InfoElement ¶ added in v0.5.8
type Float64InfoElement struct {
// contains filtered or unexported fields
}
func NewFloat64InfoElement ¶ added in v0.5.8
func NewFloat64InfoElement(element *InfoElement, val float64) *Float64InfoElement
func (*Float64InfoElement) AddInfoElement ¶ added in v0.5.8
func (b *Float64InfoElement) AddInfoElement(infoElement *InfoElement)
func (*Float64InfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *Float64InfoElement) GetBooleanValue() bool
func (*Float64InfoElement) GetDataType ¶ added in v0.5.9
func (b *Float64InfoElement) GetDataType() IEDataType
func (*Float64InfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *Float64InfoElement) GetFloat32Value() float32
func (*Float64InfoElement) GetFloat64Value ¶ added in v0.5.8
func (f64 *Float64InfoElement) GetFloat64Value() float64
func (*Float64InfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*Float64InfoElement) GetInfoElement ¶ added in v0.5.8
func (b *Float64InfoElement) GetInfoElement() *InfoElement
func (*Float64InfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *Float64InfoElement) GetMacAddressValue() net.HardwareAddr
func (*Float64InfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *Float64InfoElement) GetSigned16Value() int16
func (*Float64InfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *Float64InfoElement) GetSigned32Value() int32
func (*Float64InfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *Float64InfoElement) GetSigned64Value() int64
func (*Float64InfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *Float64InfoElement) GetSigned8Value() int8
func (*Float64InfoElement) GetStringValue ¶ added in v0.5.8
func (b *Float64InfoElement) GetStringValue() string
func (*Float64InfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *Float64InfoElement) GetUnsigned16Value() uint16
func (*Float64InfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *Float64InfoElement) GetUnsigned32Value() uint32
func (*Float64InfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *Float64InfoElement) GetUnsigned64Value() uint64
func (*Float64InfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *Float64InfoElement) GetUnsigned8Value() uint8
func (*Float64InfoElement) IsValueEmpty ¶ added in v0.5.8
func (f64 *Float64InfoElement) IsValueEmpty() bool
func (*Float64InfoElement) ResetValue ¶ added in v0.5.8
func (f64 *Float64InfoElement) ResetValue()
func (*Float64InfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *Float64InfoElement) SetBooleanValue(val bool)
func (*Float64InfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *Float64InfoElement) SetFloat32Value(val float32)
func (*Float64InfoElement) SetFloat64Value ¶ added in v0.5.8
func (f64 *Float64InfoElement) SetFloat64Value(val float64)
func (*Float64InfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*Float64InfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *Float64InfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*Float64InfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *Float64InfoElement) SetSigned16Value(val int16)
func (*Float64InfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *Float64InfoElement) SetSigned32Value(val int32)
func (*Float64InfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *Float64InfoElement) SetSigned64Value(val int64)
func (*Float64InfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *Float64InfoElement) SetSigned8Value(val int8)
func (*Float64InfoElement) SetStringValue ¶ added in v0.5.8
func (b *Float64InfoElement) SetStringValue(val string)
func (*Float64InfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *Float64InfoElement) SetUnsigned16Value(val uint16)
func (*Float64InfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *Float64InfoElement) SetUnsigned32Value(val uint32)
func (*Float64InfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *Float64InfoElement) SetUnsigned64Value(val uint64)
func (*Float64InfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *Float64InfoElement) SetUnsigned8Value(val uint8)
type IEDataType ¶
type IEDataType uint8
const ( OctetArray IEDataType = iota Unsigned8 Unsigned16 Unsigned32 Unsigned64 Signed8 Signed16 Signed32 Signed64 Float32 Float64 Boolean MacAddress String DateTimeSeconds DateTimeMilliseconds DateTimeMicroseconds DateTimeNanoseconds Ipv4Address Ipv6Address BasicList SubTemplateList SubTemplateMultiList InvalidDataType = 255 )
func IENameToType ¶
func IENameToType(name string) IEDataType
type IPAddressInfoElement ¶ added in v0.5.8
type IPAddressInfoElement struct {
// contains filtered or unexported fields
}
func NewIPAddressInfoElement ¶ added in v0.5.8
func NewIPAddressInfoElement(element *InfoElement, val net.IP) *IPAddressInfoElement
func (*IPAddressInfoElement) AddInfoElement ¶ added in v0.5.8
func (b *IPAddressInfoElement) AddInfoElement(infoElement *InfoElement)
func (*IPAddressInfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetBooleanValue() bool
func (*IPAddressInfoElement) GetDataType ¶ added in v0.5.9
func (b *IPAddressInfoElement) GetDataType() IEDataType
func (*IPAddressInfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetFloat32Value() float32
func (*IPAddressInfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetFloat64Value() float64
func (*IPAddressInfoElement) GetIPAddressValue ¶ added in v0.5.8
func (ip *IPAddressInfoElement) GetIPAddressValue() net.IP
func (*IPAddressInfoElement) GetInfoElement ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetInfoElement() *InfoElement
func (*IPAddressInfoElement) GetLength ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetLength() int
func (*IPAddressInfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetMacAddressValue() net.HardwareAddr
func (*IPAddressInfoElement) GetName ¶ added in v0.5.9
func (b *IPAddressInfoElement) GetName() string
func (*IPAddressInfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetSigned16Value() int16
func (*IPAddressInfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetSigned32Value() int32
func (*IPAddressInfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetSigned64Value() int64
func (*IPAddressInfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetSigned8Value() int8
func (*IPAddressInfoElement) GetStringValue ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetStringValue() string
func (*IPAddressInfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetUnsigned16Value() uint16
func (*IPAddressInfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetUnsigned32Value() uint32
func (*IPAddressInfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetUnsigned64Value() uint64
func (*IPAddressInfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) GetUnsigned8Value() uint8
func (*IPAddressInfoElement) IsValueEmpty ¶ added in v0.5.8
func (ip *IPAddressInfoElement) IsValueEmpty() bool
func (*IPAddressInfoElement) ResetValue ¶ added in v0.5.8
func (ip *IPAddressInfoElement) ResetValue()
func (*IPAddressInfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *IPAddressInfoElement) SetBooleanValue(val bool)
func (*IPAddressInfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) SetFloat32Value(val float32)
func (*IPAddressInfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) SetFloat64Value(val float64)
func (*IPAddressInfoElement) SetIPAddressValue ¶ added in v0.5.8
func (ip *IPAddressInfoElement) SetIPAddressValue(val net.IP)
func (*IPAddressInfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *IPAddressInfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*IPAddressInfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) SetSigned16Value(val int16)
func (*IPAddressInfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) SetSigned32Value(val int32)
func (*IPAddressInfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) SetSigned64Value(val int64)
func (*IPAddressInfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) SetSigned8Value(val int8)
func (*IPAddressInfoElement) SetStringValue ¶ added in v0.5.8
func (b *IPAddressInfoElement) SetStringValue(val string)
func (*IPAddressInfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) SetUnsigned16Value(val uint16)
func (*IPAddressInfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) SetUnsigned32Value(val uint32)
func (*IPAddressInfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) SetUnsigned64Value(val uint64)
func (*IPAddressInfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *IPAddressInfoElement) SetUnsigned8Value(val uint8)
type InfoElement ¶
type InfoElement struct { // Name of the IE Name string // Identifier for IE; follows Section 4.3 of RFC7013 ElementId uint16 // dataType follows the specification in RFC7012(section 3.1)/RFC5610(section 3.1) DataType IEDataType // Enterprise number or 0 (0 for IANA registry) EnterpriseId uint32 // Length of IE Len uint16 }
InfoElement (IE) follows the specification in Section 2.1 of RFC7012
func NewInfoElement ¶
func NewInfoElement(name string, ieID uint16, ieType IEDataType, entID uint32, len uint16) *InfoElement
type InfoElementWithValue ¶ added in v0.3.0
type InfoElementWithValue interface { GetName() string GetDataType() IEDataType // GetInfoElement retrieves the info element. This is called after AddInfoElement. // TODO: Handle error to make it more robust if it is called prior to AddInfoElement. GetInfoElement() *InfoElement AddInfoElement(infoElement *InfoElement) GetUnsigned8Value() uint8 GetUnsigned16Value() uint16 GetUnsigned32Value() uint32 GetUnsigned64Value() uint64 GetSigned8Value() int8 GetSigned16Value() int16 GetSigned32Value() int32 GetSigned64Value() int64 GetFloat32Value() float32 GetFloat64Value() float64 GetBooleanValue() bool GetMacAddressValue() net.HardwareAddr GetStringValue() string GetIPAddressValue() net.IP SetUnsigned8Value(val uint8) SetUnsigned16Value(val uint16) SetUnsigned32Value(val uint32) SetUnsigned64Value(val uint64) SetSigned8Value(val int8) SetSigned16Value(val int16) SetSigned32Value(val int32) SetSigned64Value(val int64) SetFloat32Value(val float32) SetFloat64Value(val float64) SetBooleanValue(val bool) SetMacAddressValue(val net.HardwareAddr) SetStringValue(val string) SetIPAddressValue(val net.IP) IsValueEmpty() bool GetLength() int ResetValue() }
func DecodeAndCreateInfoElementWithValue ¶ added in v0.5.8
func DecodeAndCreateInfoElementWithValue(element *InfoElement, value []byte) (InfoElementWithValue, error)
DecodeAndCreateInfoElementWithValue takes in the info element and its value in bytes, and returns appropriate InfoElementWithValue.
type MacAddressInfoElement ¶ added in v0.5.8
type MacAddressInfoElement struct {
// contains filtered or unexported fields
}
func NewMacAddressInfoElement ¶ added in v0.5.8
func NewMacAddressInfoElement(element *InfoElement, val net.HardwareAddr) *MacAddressInfoElement
func (*MacAddressInfoElement) AddInfoElement ¶ added in v0.5.8
func (b *MacAddressInfoElement) AddInfoElement(infoElement *InfoElement)
func (*MacAddressInfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetBooleanValue() bool
func (*MacAddressInfoElement) GetDataType ¶ added in v0.5.9
func (b *MacAddressInfoElement) GetDataType() IEDataType
func (*MacAddressInfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetFloat32Value() float32
func (*MacAddressInfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetFloat64Value() float64
func (*MacAddressInfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*MacAddressInfoElement) GetInfoElement ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetInfoElement() *InfoElement
func (*MacAddressInfoElement) GetLength ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetLength() int
func (*MacAddressInfoElement) GetMacAddressValue ¶ added in v0.5.8
func (mac *MacAddressInfoElement) GetMacAddressValue() net.HardwareAddr
func (*MacAddressInfoElement) GetName ¶ added in v0.5.9
func (b *MacAddressInfoElement) GetName() string
func (*MacAddressInfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetSigned16Value() int16
func (*MacAddressInfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetSigned32Value() int32
func (*MacAddressInfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetSigned64Value() int64
func (*MacAddressInfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetSigned8Value() int8
func (*MacAddressInfoElement) GetStringValue ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetStringValue() string
func (*MacAddressInfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetUnsigned16Value() uint16
func (*MacAddressInfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetUnsigned32Value() uint32
func (*MacAddressInfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetUnsigned64Value() uint64
func (*MacAddressInfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) GetUnsigned8Value() uint8
func (*MacAddressInfoElement) IsValueEmpty ¶ added in v0.5.8
func (mac *MacAddressInfoElement) IsValueEmpty() bool
func (*MacAddressInfoElement) ResetValue ¶ added in v0.5.8
func (mac *MacAddressInfoElement) ResetValue()
func (*MacAddressInfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *MacAddressInfoElement) SetBooleanValue(val bool)
func (*MacAddressInfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) SetFloat32Value(val float32)
func (*MacAddressInfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) SetFloat64Value(val float64)
func (*MacAddressInfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*MacAddressInfoElement) SetMacAddressValue ¶ added in v0.5.8
func (mac *MacAddressInfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*MacAddressInfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) SetSigned16Value(val int16)
func (*MacAddressInfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) SetSigned32Value(val int32)
func (*MacAddressInfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) SetSigned64Value(val int64)
func (*MacAddressInfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) SetSigned8Value(val int8)
func (*MacAddressInfoElement) SetStringValue ¶ added in v0.5.8
func (b *MacAddressInfoElement) SetStringValue(val string)
func (*MacAddressInfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) SetUnsigned16Value(val uint16)
func (*MacAddressInfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) SetUnsigned32Value(val uint32)
func (*MacAddressInfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) SetUnsigned64Value(val uint64)
func (*MacAddressInfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *MacAddressInfoElement) SetUnsigned8Value(val uint8)
type Message ¶ added in v0.2.0
type Message struct {
// contains filtered or unexported fields
}
Message represents IPFIX message. TODO: Currently, it supports only one set. This will be extended to support multiple sets.
func NewMessage ¶ added in v0.4.0
func (*Message) GetExportAddress ¶ added in v0.4.0
func (*Message) GetExportTime ¶ added in v0.4.0
func (*Message) GetMessageLen ¶ added in v0.4.0
func (*Message) GetMsgHeader ¶ added in v0.5.4
func (*Message) GetObsDomainID ¶ added in v0.4.0
func (*Message) GetSequenceNum ¶ added in v0.4.0
func (*Message) GetVersion ¶ added in v0.4.0
func (*Message) ResetMsgHeader ¶ added in v0.5.4
func (m *Message) ResetMsgHeader()
func (*Message) SetExportAddress ¶ added in v0.4.0
func (*Message) SetExportTime ¶ added in v0.4.0
func (*Message) SetMessageLen ¶ added in v0.4.0
func (*Message) SetObsDomainID ¶ added in v0.4.0
func (*Message) SetSequenceNum ¶ added in v0.4.0
func (*Message) SetVersion ¶ added in v0.4.0
type Record ¶
type Record interface { PrepareRecord() error AddInfoElement(element InfoElementWithValue) error // TODO: Functions for multiple elements as well. GetBuffer() []byte GetTemplateID() uint16 GetFieldCount() uint16 GetOrderedElementList() []InfoElementWithValue GetInfoElementWithValue(name string) (InfoElementWithValue, int, bool) GetRecordLength() int GetMinDataRecordLen() uint16 GetElementMap() map[string]interface{} }
type Set ¶
type Set interface { PrepareSet(setType ContentType, templateID uint16) error ResetSet() GetHeaderBuffer() []byte GetSetLength() int GetSetType() ContentType UpdateLenInHeader() AddRecord(elements []InfoElementWithValue, templateID uint16) error AddRecordWithExtraElements(elements []InfoElementWithValue, numExtraElements int, templateID uint16) error // Unlike AddRecord, AddRecordV2 uses the elements slice directly, instead of creating a new // one. This can result in fewer memory allocations. The caller should not modify the // contents of the slice after calling AddRecordV2. AddRecordV2(elements []InfoElementWithValue, templateID uint16) error GetRecords() []Record GetNumberOfRecords() uint32 }
type Signed16InfoElement ¶ added in v0.5.8
type Signed16InfoElement struct {
// contains filtered or unexported fields
}
func NewSigned16InfoElement ¶ added in v0.5.8
func NewSigned16InfoElement(element *InfoElement, val int16) *Signed16InfoElement
func (*Signed16InfoElement) AddInfoElement ¶ added in v0.5.8
func (b *Signed16InfoElement) AddInfoElement(infoElement *InfoElement)
func (*Signed16InfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *Signed16InfoElement) GetBooleanValue() bool
func (*Signed16InfoElement) GetDataType ¶ added in v0.5.9
func (b *Signed16InfoElement) GetDataType() IEDataType
func (*Signed16InfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *Signed16InfoElement) GetFloat32Value() float32
func (*Signed16InfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *Signed16InfoElement) GetFloat64Value() float64
func (*Signed16InfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*Signed16InfoElement) GetInfoElement ¶ added in v0.5.8
func (b *Signed16InfoElement) GetInfoElement() *InfoElement
func (*Signed16InfoElement) GetLength ¶ added in v0.5.8
func (b *Signed16InfoElement) GetLength() int
func (*Signed16InfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *Signed16InfoElement) GetMacAddressValue() net.HardwareAddr
func (*Signed16InfoElement) GetName ¶ added in v0.5.9
func (b *Signed16InfoElement) GetName() string
func (*Signed16InfoElement) GetSigned16Value ¶ added in v0.5.8
func (i16 *Signed16InfoElement) GetSigned16Value() int16
func (*Signed16InfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *Signed16InfoElement) GetSigned32Value() int32
func (*Signed16InfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *Signed16InfoElement) GetSigned64Value() int64
func (*Signed16InfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *Signed16InfoElement) GetSigned8Value() int8
func (*Signed16InfoElement) GetStringValue ¶ added in v0.5.8
func (b *Signed16InfoElement) GetStringValue() string
func (*Signed16InfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *Signed16InfoElement) GetUnsigned16Value() uint16
func (*Signed16InfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *Signed16InfoElement) GetUnsigned32Value() uint32
func (*Signed16InfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *Signed16InfoElement) GetUnsigned64Value() uint64
func (*Signed16InfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *Signed16InfoElement) GetUnsigned8Value() uint8
func (*Signed16InfoElement) IsValueEmpty ¶ added in v0.5.8
func (i16 *Signed16InfoElement) IsValueEmpty() bool
func (*Signed16InfoElement) ResetValue ¶ added in v0.5.8
func (i16 *Signed16InfoElement) ResetValue()
func (*Signed16InfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *Signed16InfoElement) SetBooleanValue(val bool)
func (*Signed16InfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *Signed16InfoElement) SetFloat32Value(val float32)
func (*Signed16InfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *Signed16InfoElement) SetFloat64Value(val float64)
func (*Signed16InfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*Signed16InfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *Signed16InfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*Signed16InfoElement) SetSigned16Value ¶ added in v0.5.8
func (i16 *Signed16InfoElement) SetSigned16Value(val int16)
func (*Signed16InfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *Signed16InfoElement) SetSigned32Value(val int32)
func (*Signed16InfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *Signed16InfoElement) SetSigned64Value(val int64)
func (*Signed16InfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *Signed16InfoElement) SetSigned8Value(val int8)
func (*Signed16InfoElement) SetStringValue ¶ added in v0.5.8
func (b *Signed16InfoElement) SetStringValue(val string)
func (*Signed16InfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *Signed16InfoElement) SetUnsigned16Value(val uint16)
func (*Signed16InfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *Signed16InfoElement) SetUnsigned32Value(val uint32)
func (*Signed16InfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *Signed16InfoElement) SetUnsigned64Value(val uint64)
func (*Signed16InfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *Signed16InfoElement) SetUnsigned8Value(val uint8)
type Signed32InfoElement ¶ added in v0.5.8
type Signed32InfoElement struct {
// contains filtered or unexported fields
}
func NewSigned32InfoElement ¶ added in v0.5.8
func NewSigned32InfoElement(element *InfoElement, val int32) *Signed32InfoElement
func (*Signed32InfoElement) AddInfoElement ¶ added in v0.5.8
func (b *Signed32InfoElement) AddInfoElement(infoElement *InfoElement)
func (*Signed32InfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *Signed32InfoElement) GetBooleanValue() bool
func (*Signed32InfoElement) GetDataType ¶ added in v0.5.9
func (b *Signed32InfoElement) GetDataType() IEDataType
func (*Signed32InfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *Signed32InfoElement) GetFloat32Value() float32
func (*Signed32InfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *Signed32InfoElement) GetFloat64Value() float64
func (*Signed32InfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*Signed32InfoElement) GetInfoElement ¶ added in v0.5.8
func (b *Signed32InfoElement) GetInfoElement() *InfoElement
func (*Signed32InfoElement) GetLength ¶ added in v0.5.8
func (b *Signed32InfoElement) GetLength() int
func (*Signed32InfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *Signed32InfoElement) GetMacAddressValue() net.HardwareAddr
func (*Signed32InfoElement) GetName ¶ added in v0.5.9
func (b *Signed32InfoElement) GetName() string
func (*Signed32InfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *Signed32InfoElement) GetSigned16Value() int16
func (*Signed32InfoElement) GetSigned32Value ¶ added in v0.5.8
func (i32 *Signed32InfoElement) GetSigned32Value() int32
func (*Signed32InfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *Signed32InfoElement) GetSigned64Value() int64
func (*Signed32InfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *Signed32InfoElement) GetSigned8Value() int8
func (*Signed32InfoElement) GetStringValue ¶ added in v0.5.8
func (b *Signed32InfoElement) GetStringValue() string
func (*Signed32InfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *Signed32InfoElement) GetUnsigned16Value() uint16
func (*Signed32InfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *Signed32InfoElement) GetUnsigned32Value() uint32
func (*Signed32InfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *Signed32InfoElement) GetUnsigned64Value() uint64
func (*Signed32InfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *Signed32InfoElement) GetUnsigned8Value() uint8
func (*Signed32InfoElement) IsValueEmpty ¶ added in v0.5.8
func (i32 *Signed32InfoElement) IsValueEmpty() bool
func (*Signed32InfoElement) ResetValue ¶ added in v0.5.8
func (i32 *Signed32InfoElement) ResetValue()
func (*Signed32InfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *Signed32InfoElement) SetBooleanValue(val bool)
func (*Signed32InfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *Signed32InfoElement) SetFloat32Value(val float32)
func (*Signed32InfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *Signed32InfoElement) SetFloat64Value(val float64)
func (*Signed32InfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*Signed32InfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *Signed32InfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*Signed32InfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *Signed32InfoElement) SetSigned16Value(val int16)
func (*Signed32InfoElement) SetSigned32Value ¶ added in v0.5.8
func (i32 *Signed32InfoElement) SetSigned32Value(val int32)
func (*Signed32InfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *Signed32InfoElement) SetSigned64Value(val int64)
func (*Signed32InfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *Signed32InfoElement) SetSigned8Value(val int8)
func (*Signed32InfoElement) SetStringValue ¶ added in v0.5.8
func (b *Signed32InfoElement) SetStringValue(val string)
func (*Signed32InfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *Signed32InfoElement) SetUnsigned16Value(val uint16)
func (*Signed32InfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *Signed32InfoElement) SetUnsigned32Value(val uint32)
func (*Signed32InfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *Signed32InfoElement) SetUnsigned64Value(val uint64)
func (*Signed32InfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *Signed32InfoElement) SetUnsigned8Value(val uint8)
type Signed64InfoElement ¶ added in v0.5.8
type Signed64InfoElement struct {
// contains filtered or unexported fields
}
func NewSigned64InfoElement ¶ added in v0.5.8
func NewSigned64InfoElement(element *InfoElement, val int64) *Signed64InfoElement
func (*Signed64InfoElement) AddInfoElement ¶ added in v0.5.8
func (b *Signed64InfoElement) AddInfoElement(infoElement *InfoElement)
func (*Signed64InfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *Signed64InfoElement) GetBooleanValue() bool
func (*Signed64InfoElement) GetDataType ¶ added in v0.5.9
func (b *Signed64InfoElement) GetDataType() IEDataType
func (*Signed64InfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *Signed64InfoElement) GetFloat32Value() float32
func (*Signed64InfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *Signed64InfoElement) GetFloat64Value() float64
func (*Signed64InfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*Signed64InfoElement) GetInfoElement ¶ added in v0.5.8
func (b *Signed64InfoElement) GetInfoElement() *InfoElement
func (*Signed64InfoElement) GetLength ¶ added in v0.5.8
func (b *Signed64InfoElement) GetLength() int
func (*Signed64InfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *Signed64InfoElement) GetMacAddressValue() net.HardwareAddr
func (*Signed64InfoElement) GetName ¶ added in v0.5.9
func (b *Signed64InfoElement) GetName() string
func (*Signed64InfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *Signed64InfoElement) GetSigned16Value() int16
func (*Signed64InfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *Signed64InfoElement) GetSigned32Value() int32
func (*Signed64InfoElement) GetSigned64Value ¶ added in v0.5.8
func (i64 *Signed64InfoElement) GetSigned64Value() int64
func (*Signed64InfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *Signed64InfoElement) GetSigned8Value() int8
func (*Signed64InfoElement) GetStringValue ¶ added in v0.5.8
func (b *Signed64InfoElement) GetStringValue() string
func (*Signed64InfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *Signed64InfoElement) GetUnsigned16Value() uint16
func (*Signed64InfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *Signed64InfoElement) GetUnsigned32Value() uint32
func (*Signed64InfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *Signed64InfoElement) GetUnsigned64Value() uint64
func (*Signed64InfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *Signed64InfoElement) GetUnsigned8Value() uint8
func (*Signed64InfoElement) IsValueEmpty ¶ added in v0.5.8
func (i64 *Signed64InfoElement) IsValueEmpty() bool
func (*Signed64InfoElement) ResetValue ¶ added in v0.5.8
func (i64 *Signed64InfoElement) ResetValue()
func (*Signed64InfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *Signed64InfoElement) SetBooleanValue(val bool)
func (*Signed64InfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *Signed64InfoElement) SetFloat32Value(val float32)
func (*Signed64InfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *Signed64InfoElement) SetFloat64Value(val float64)
func (*Signed64InfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*Signed64InfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *Signed64InfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*Signed64InfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *Signed64InfoElement) SetSigned16Value(val int16)
func (*Signed64InfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *Signed64InfoElement) SetSigned32Value(val int32)
func (*Signed64InfoElement) SetSigned64Value ¶ added in v0.5.8
func (i64 *Signed64InfoElement) SetSigned64Value(val int64)
func (*Signed64InfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *Signed64InfoElement) SetSigned8Value(val int8)
func (*Signed64InfoElement) SetStringValue ¶ added in v0.5.8
func (b *Signed64InfoElement) SetStringValue(val string)
func (*Signed64InfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *Signed64InfoElement) SetUnsigned16Value(val uint16)
func (*Signed64InfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *Signed64InfoElement) SetUnsigned32Value(val uint32)
func (*Signed64InfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *Signed64InfoElement) SetUnsigned64Value(val uint64)
func (*Signed64InfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *Signed64InfoElement) SetUnsigned8Value(val uint8)
type Signed8InfoElement ¶ added in v0.5.8
type Signed8InfoElement struct {
// contains filtered or unexported fields
}
func NewSigned8InfoElement ¶ added in v0.5.8
func NewSigned8InfoElement(element *InfoElement, val int8) *Signed8InfoElement
func (*Signed8InfoElement) AddInfoElement ¶ added in v0.5.8
func (b *Signed8InfoElement) AddInfoElement(infoElement *InfoElement)
func (*Signed8InfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *Signed8InfoElement) GetBooleanValue() bool
func (*Signed8InfoElement) GetDataType ¶ added in v0.5.9
func (b *Signed8InfoElement) GetDataType() IEDataType
func (*Signed8InfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *Signed8InfoElement) GetFloat32Value() float32
func (*Signed8InfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *Signed8InfoElement) GetFloat64Value() float64
func (*Signed8InfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*Signed8InfoElement) GetInfoElement ¶ added in v0.5.8
func (b *Signed8InfoElement) GetInfoElement() *InfoElement
func (*Signed8InfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *Signed8InfoElement) GetMacAddressValue() net.HardwareAddr
func (*Signed8InfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *Signed8InfoElement) GetSigned16Value() int16
func (*Signed8InfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *Signed8InfoElement) GetSigned32Value() int32
func (*Signed8InfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *Signed8InfoElement) GetSigned64Value() int64
func (*Signed8InfoElement) GetSigned8Value ¶ added in v0.5.8
func (i8 *Signed8InfoElement) GetSigned8Value() int8
func (*Signed8InfoElement) GetStringValue ¶ added in v0.5.8
func (b *Signed8InfoElement) GetStringValue() string
func (*Signed8InfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *Signed8InfoElement) GetUnsigned16Value() uint16
func (*Signed8InfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *Signed8InfoElement) GetUnsigned32Value() uint32
func (*Signed8InfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *Signed8InfoElement) GetUnsigned64Value() uint64
func (*Signed8InfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *Signed8InfoElement) GetUnsigned8Value() uint8
func (*Signed8InfoElement) IsValueEmpty ¶ added in v0.5.8
func (i8 *Signed8InfoElement) IsValueEmpty() bool
func (*Signed8InfoElement) ResetValue ¶ added in v0.5.8
func (i8 *Signed8InfoElement) ResetValue()
func (*Signed8InfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *Signed8InfoElement) SetBooleanValue(val bool)
func (*Signed8InfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *Signed8InfoElement) SetFloat32Value(val float32)
func (*Signed8InfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *Signed8InfoElement) SetFloat64Value(val float64)
func (*Signed8InfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*Signed8InfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *Signed8InfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*Signed8InfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *Signed8InfoElement) SetSigned16Value(val int16)
func (*Signed8InfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *Signed8InfoElement) SetSigned32Value(val int32)
func (*Signed8InfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *Signed8InfoElement) SetSigned64Value(val int64)
func (*Signed8InfoElement) SetSigned8Value ¶ added in v0.5.8
func (i8 *Signed8InfoElement) SetSigned8Value(val int8)
func (*Signed8InfoElement) SetStringValue ¶ added in v0.5.8
func (b *Signed8InfoElement) SetStringValue(val string)
func (*Signed8InfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *Signed8InfoElement) SetUnsigned16Value(val uint16)
func (*Signed8InfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *Signed8InfoElement) SetUnsigned32Value(val uint32)
func (*Signed8InfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *Signed8InfoElement) SetUnsigned64Value(val uint64)
func (*Signed8InfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *Signed8InfoElement) SetUnsigned8Value(val uint8)
type StringInfoElement ¶ added in v0.5.8
type StringInfoElement struct {
// contains filtered or unexported fields
}
func NewStringInfoElement ¶ added in v0.5.8
func NewStringInfoElement(element *InfoElement, val string) *StringInfoElement
func (*StringInfoElement) AddInfoElement ¶ added in v0.5.8
func (b *StringInfoElement) AddInfoElement(infoElement *InfoElement)
func (*StringInfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *StringInfoElement) GetBooleanValue() bool
func (*StringInfoElement) GetDataType ¶ added in v0.5.9
func (b *StringInfoElement) GetDataType() IEDataType
func (*StringInfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *StringInfoElement) GetFloat32Value() float32
func (*StringInfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *StringInfoElement) GetFloat64Value() float64
func (*StringInfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*StringInfoElement) GetInfoElement ¶ added in v0.5.8
func (b *StringInfoElement) GetInfoElement() *InfoElement
func (*StringInfoElement) GetLength ¶ added in v0.5.8
func (s *StringInfoElement) GetLength() int
func (*StringInfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *StringInfoElement) GetMacAddressValue() net.HardwareAddr
func (*StringInfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *StringInfoElement) GetSigned16Value() int16
func (*StringInfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *StringInfoElement) GetSigned32Value() int32
func (*StringInfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *StringInfoElement) GetSigned64Value() int64
func (*StringInfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *StringInfoElement) GetSigned8Value() int8
func (*StringInfoElement) GetStringValue ¶ added in v0.5.8
func (s *StringInfoElement) GetStringValue() string
func (*StringInfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *StringInfoElement) GetUnsigned16Value() uint16
func (*StringInfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *StringInfoElement) GetUnsigned32Value() uint32
func (*StringInfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *StringInfoElement) GetUnsigned64Value() uint64
func (*StringInfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *StringInfoElement) GetUnsigned8Value() uint8
func (*StringInfoElement) IsValueEmpty ¶ added in v0.5.8
func (s *StringInfoElement) IsValueEmpty() bool
func (*StringInfoElement) ResetValue ¶ added in v0.5.8
func (s *StringInfoElement) ResetValue()
func (*StringInfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *StringInfoElement) SetBooleanValue(val bool)
func (*StringInfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *StringInfoElement) SetFloat32Value(val float32)
func (*StringInfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *StringInfoElement) SetFloat64Value(val float64)
func (*StringInfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*StringInfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *StringInfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*StringInfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *StringInfoElement) SetSigned16Value(val int16)
func (*StringInfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *StringInfoElement) SetSigned32Value(val int32)
func (*StringInfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *StringInfoElement) SetSigned64Value(val int64)
func (*StringInfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *StringInfoElement) SetSigned8Value(val int8)
func (*StringInfoElement) SetStringValue ¶ added in v0.5.8
func (s *StringInfoElement) SetStringValue(val string)
func (*StringInfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *StringInfoElement) SetUnsigned16Value(val uint16)
func (*StringInfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *StringInfoElement) SetUnsigned32Value(val uint32)
func (*StringInfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *StringInfoElement) SetUnsigned64Value(val uint64)
func (*StringInfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *StringInfoElement) SetUnsigned8Value(val uint8)
type Unsigned16InfoElement ¶ added in v0.5.8
type Unsigned16InfoElement struct {
// contains filtered or unexported fields
}
func NewUnsigned16InfoElement ¶ added in v0.5.8
func NewUnsigned16InfoElement(element *InfoElement, val uint16) *Unsigned16InfoElement
func (*Unsigned16InfoElement) AddInfoElement ¶ added in v0.5.8
func (b *Unsigned16InfoElement) AddInfoElement(infoElement *InfoElement)
func (*Unsigned16InfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetBooleanValue() bool
func (*Unsigned16InfoElement) GetDataType ¶ added in v0.5.9
func (b *Unsigned16InfoElement) GetDataType() IEDataType
func (*Unsigned16InfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetFloat32Value() float32
func (*Unsigned16InfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetFloat64Value() float64
func (*Unsigned16InfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*Unsigned16InfoElement) GetInfoElement ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetInfoElement() *InfoElement
func (*Unsigned16InfoElement) GetLength ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetLength() int
func (*Unsigned16InfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetMacAddressValue() net.HardwareAddr
func (*Unsigned16InfoElement) GetName ¶ added in v0.5.9
func (b *Unsigned16InfoElement) GetName() string
func (*Unsigned16InfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetSigned16Value() int16
func (*Unsigned16InfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetSigned32Value() int32
func (*Unsigned16InfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetSigned64Value() int64
func (*Unsigned16InfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetSigned8Value() int8
func (*Unsigned16InfoElement) GetStringValue ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetStringValue() string
func (*Unsigned16InfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (u16 *Unsigned16InfoElement) GetUnsigned16Value() uint16
func (*Unsigned16InfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetUnsigned32Value() uint32
func (*Unsigned16InfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetUnsigned64Value() uint64
func (*Unsigned16InfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) GetUnsigned8Value() uint8
func (*Unsigned16InfoElement) IsValueEmpty ¶ added in v0.5.8
func (u16 *Unsigned16InfoElement) IsValueEmpty() bool
func (*Unsigned16InfoElement) ResetValue ¶ added in v0.5.8
func (u16 *Unsigned16InfoElement) ResetValue()
func (*Unsigned16InfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *Unsigned16InfoElement) SetBooleanValue(val bool)
func (*Unsigned16InfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) SetFloat32Value(val float32)
func (*Unsigned16InfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) SetFloat64Value(val float64)
func (*Unsigned16InfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*Unsigned16InfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *Unsigned16InfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*Unsigned16InfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) SetSigned16Value(val int16)
func (*Unsigned16InfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) SetSigned32Value(val int32)
func (*Unsigned16InfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) SetSigned64Value(val int64)
func (*Unsigned16InfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) SetSigned8Value(val int8)
func (*Unsigned16InfoElement) SetStringValue ¶ added in v0.5.8
func (b *Unsigned16InfoElement) SetStringValue(val string)
func (*Unsigned16InfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (u16 *Unsigned16InfoElement) SetUnsigned16Value(val uint16)
func (*Unsigned16InfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) SetUnsigned32Value(val uint32)
func (*Unsigned16InfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) SetUnsigned64Value(val uint64)
func (*Unsigned16InfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *Unsigned16InfoElement) SetUnsigned8Value(val uint8)
type Unsigned32InfoElement ¶ added in v0.5.8
type Unsigned32InfoElement struct {
// contains filtered or unexported fields
}
func NewUnsigned32InfoElement ¶ added in v0.5.8
func NewUnsigned32InfoElement(element *InfoElement, val uint32) *Unsigned32InfoElement
func (*Unsigned32InfoElement) AddInfoElement ¶ added in v0.5.8
func (b *Unsigned32InfoElement) AddInfoElement(infoElement *InfoElement)
func (*Unsigned32InfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetBooleanValue() bool
func (*Unsigned32InfoElement) GetDataType ¶ added in v0.5.9
func (b *Unsigned32InfoElement) GetDataType() IEDataType
func (*Unsigned32InfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetFloat32Value() float32
func (*Unsigned32InfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetFloat64Value() float64
func (*Unsigned32InfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*Unsigned32InfoElement) GetInfoElement ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetInfoElement() *InfoElement
func (*Unsigned32InfoElement) GetLength ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetLength() int
func (*Unsigned32InfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetMacAddressValue() net.HardwareAddr
func (*Unsigned32InfoElement) GetName ¶ added in v0.5.9
func (b *Unsigned32InfoElement) GetName() string
func (*Unsigned32InfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetSigned16Value() int16
func (*Unsigned32InfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetSigned32Value() int32
func (*Unsigned32InfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetSigned64Value() int64
func (*Unsigned32InfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetSigned8Value() int8
func (*Unsigned32InfoElement) GetStringValue ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetStringValue() string
func (*Unsigned32InfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetUnsigned16Value() uint16
func (*Unsigned32InfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (u32 *Unsigned32InfoElement) GetUnsigned32Value() uint32
func (*Unsigned32InfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetUnsigned64Value() uint64
func (*Unsigned32InfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) GetUnsigned8Value() uint8
func (*Unsigned32InfoElement) IsValueEmpty ¶ added in v0.5.8
func (u32 *Unsigned32InfoElement) IsValueEmpty() bool
func (*Unsigned32InfoElement) ResetValue ¶ added in v0.5.8
func (u32 *Unsigned32InfoElement) ResetValue()
func (*Unsigned32InfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *Unsigned32InfoElement) SetBooleanValue(val bool)
func (*Unsigned32InfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) SetFloat32Value(val float32)
func (*Unsigned32InfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) SetFloat64Value(val float64)
func (*Unsigned32InfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*Unsigned32InfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *Unsigned32InfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*Unsigned32InfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) SetSigned16Value(val int16)
func (*Unsigned32InfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) SetSigned32Value(val int32)
func (*Unsigned32InfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) SetSigned64Value(val int64)
func (*Unsigned32InfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) SetSigned8Value(val int8)
func (*Unsigned32InfoElement) SetStringValue ¶ added in v0.5.8
func (b *Unsigned32InfoElement) SetStringValue(val string)
func (*Unsigned32InfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) SetUnsigned16Value(val uint16)
func (*Unsigned32InfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (u32 *Unsigned32InfoElement) SetUnsigned32Value(val uint32)
func (*Unsigned32InfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) SetUnsigned64Value(val uint64)
func (*Unsigned32InfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *Unsigned32InfoElement) SetUnsigned8Value(val uint8)
type Unsigned64InfoElement ¶ added in v0.5.8
type Unsigned64InfoElement struct {
// contains filtered or unexported fields
}
func NewUnsigned64InfoElement ¶ added in v0.5.8
func NewUnsigned64InfoElement(element *InfoElement, val uint64) *Unsigned64InfoElement
func (*Unsigned64InfoElement) AddInfoElement ¶ added in v0.5.8
func (b *Unsigned64InfoElement) AddInfoElement(infoElement *InfoElement)
func (*Unsigned64InfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetBooleanValue() bool
func (*Unsigned64InfoElement) GetDataType ¶ added in v0.5.9
func (b *Unsigned64InfoElement) GetDataType() IEDataType
func (*Unsigned64InfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetFloat32Value() float32
func (*Unsigned64InfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetFloat64Value() float64
func (*Unsigned64InfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*Unsigned64InfoElement) GetInfoElement ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetInfoElement() *InfoElement
func (*Unsigned64InfoElement) GetLength ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetLength() int
func (*Unsigned64InfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetMacAddressValue() net.HardwareAddr
func (*Unsigned64InfoElement) GetName ¶ added in v0.5.9
func (b *Unsigned64InfoElement) GetName() string
func (*Unsigned64InfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetSigned16Value() int16
func (*Unsigned64InfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetSigned32Value() int32
func (*Unsigned64InfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetSigned64Value() int64
func (*Unsigned64InfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetSigned8Value() int8
func (*Unsigned64InfoElement) GetStringValue ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetStringValue() string
func (*Unsigned64InfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetUnsigned16Value() uint16
func (*Unsigned64InfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetUnsigned32Value() uint32
func (*Unsigned64InfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (u64 *Unsigned64InfoElement) GetUnsigned64Value() uint64
func (*Unsigned64InfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) GetUnsigned8Value() uint8
func (*Unsigned64InfoElement) IsValueEmpty ¶ added in v0.5.8
func (u64 *Unsigned64InfoElement) IsValueEmpty() bool
func (*Unsigned64InfoElement) ResetValue ¶ added in v0.5.8
func (u64 *Unsigned64InfoElement) ResetValue()
func (*Unsigned64InfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *Unsigned64InfoElement) SetBooleanValue(val bool)
func (*Unsigned64InfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) SetFloat32Value(val float32)
func (*Unsigned64InfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) SetFloat64Value(val float64)
func (*Unsigned64InfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*Unsigned64InfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *Unsigned64InfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*Unsigned64InfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) SetSigned16Value(val int16)
func (*Unsigned64InfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) SetSigned32Value(val int32)
func (*Unsigned64InfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) SetSigned64Value(val int64)
func (*Unsigned64InfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) SetSigned8Value(val int8)
func (*Unsigned64InfoElement) SetStringValue ¶ added in v0.5.8
func (b *Unsigned64InfoElement) SetStringValue(val string)
func (*Unsigned64InfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) SetUnsigned16Value(val uint16)
func (*Unsigned64InfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) SetUnsigned32Value(val uint32)
func (*Unsigned64InfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (u64 *Unsigned64InfoElement) SetUnsigned64Value(val uint64)
func (*Unsigned64InfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (b *Unsigned64InfoElement) SetUnsigned8Value(val uint8)
type Unsigned8InfoElement ¶ added in v0.5.8
type Unsigned8InfoElement struct {
// contains filtered or unexported fields
}
func NewUnsigned8InfoElement ¶ added in v0.5.8
func NewUnsigned8InfoElement(element *InfoElement, val uint8) *Unsigned8InfoElement
func (*Unsigned8InfoElement) AddInfoElement ¶ added in v0.5.8
func (b *Unsigned8InfoElement) AddInfoElement(infoElement *InfoElement)
func (*Unsigned8InfoElement) GetBooleanValue ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetBooleanValue() bool
func (*Unsigned8InfoElement) GetDataType ¶ added in v0.5.9
func (b *Unsigned8InfoElement) GetDataType() IEDataType
func (*Unsigned8InfoElement) GetFloat32Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetFloat32Value() float32
func (*Unsigned8InfoElement) GetFloat64Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetFloat64Value() float64
func (*Unsigned8InfoElement) GetIPAddressValue ¶ added in v0.5.8
func (*Unsigned8InfoElement) GetInfoElement ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetInfoElement() *InfoElement
func (*Unsigned8InfoElement) GetLength ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetLength() int
func (*Unsigned8InfoElement) GetMacAddressValue ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetMacAddressValue() net.HardwareAddr
func (*Unsigned8InfoElement) GetName ¶ added in v0.5.9
func (b *Unsigned8InfoElement) GetName() string
func (*Unsigned8InfoElement) GetSigned16Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetSigned16Value() int16
func (*Unsigned8InfoElement) GetSigned32Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetSigned32Value() int32
func (*Unsigned8InfoElement) GetSigned64Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetSigned64Value() int64
func (*Unsigned8InfoElement) GetSigned8Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetSigned8Value() int8
func (*Unsigned8InfoElement) GetStringValue ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetStringValue() string
func (*Unsigned8InfoElement) GetUnsigned16Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetUnsigned16Value() uint16
func (*Unsigned8InfoElement) GetUnsigned32Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetUnsigned32Value() uint32
func (*Unsigned8InfoElement) GetUnsigned64Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) GetUnsigned64Value() uint64
func (*Unsigned8InfoElement) GetUnsigned8Value ¶ added in v0.5.8
func (u8 *Unsigned8InfoElement) GetUnsigned8Value() uint8
func (*Unsigned8InfoElement) IsValueEmpty ¶ added in v0.5.8
func (u8 *Unsigned8InfoElement) IsValueEmpty() bool
func (*Unsigned8InfoElement) ResetValue ¶ added in v0.5.8
func (u8 *Unsigned8InfoElement) ResetValue()
func (*Unsigned8InfoElement) SetBooleanValue ¶ added in v0.5.8
func (b *Unsigned8InfoElement) SetBooleanValue(val bool)
func (*Unsigned8InfoElement) SetFloat32Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) SetFloat32Value(val float32)
func (*Unsigned8InfoElement) SetFloat64Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) SetFloat64Value(val float64)
func (*Unsigned8InfoElement) SetIPAddressValue ¶ added in v0.5.8
func (*Unsigned8InfoElement) SetMacAddressValue ¶ added in v0.5.8
func (b *Unsigned8InfoElement) SetMacAddressValue(val net.HardwareAddr)
func (*Unsigned8InfoElement) SetSigned16Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) SetSigned16Value(val int16)
func (*Unsigned8InfoElement) SetSigned32Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) SetSigned32Value(val int32)
func (*Unsigned8InfoElement) SetSigned64Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) SetSigned64Value(val int64)
func (*Unsigned8InfoElement) SetSigned8Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) SetSigned8Value(val int8)
func (*Unsigned8InfoElement) SetStringValue ¶ added in v0.5.8
func (b *Unsigned8InfoElement) SetStringValue(val string)
func (*Unsigned8InfoElement) SetUnsigned16Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) SetUnsigned16Value(val uint16)
func (*Unsigned8InfoElement) SetUnsigned32Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) SetUnsigned32Value(val uint32)
func (*Unsigned8InfoElement) SetUnsigned64Value ¶ added in v0.5.8
func (b *Unsigned8InfoElement) SetUnsigned64Value(val uint64)
func (*Unsigned8InfoElement) SetUnsigned8Value ¶ added in v0.5.8
func (u8 *Unsigned8InfoElement) SetUnsigned8Value(val uint8)
Click to show internal directories.
Click to hide internal directories.