Documentation ¶
Index ¶
- type BindSubscribe
- type BindSubscribeInfo
- type BindSubscribeNotify
- type Notifier
- type SpineConnection
- func (conn *SpineConnection) CountBindings(serverAddr resources.FeatureAddressType) int
- func (conn *SpineConnection) CountSubscriptions(serverAddr resources.FeatureAddressType) int
- func (conn *SpineConnection) RecieveTimeout(seconds int) (resources.DatagramType, bool)
- func (conn *SpineConnection) SendXML(header *resources.HeaderType, payload *resources.PayloadType)
- func (conn *SpineConnection) StartDetailedDiscovery()
- func (conn *SpineConnection) StartRecieveHandler()
- type SpineNode
- type SubscriptionData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindSubscribe ¶
type BindSubscribe struct { Conn *SpineConnection BindSubscribeEntry *resources.BindSubscribeEntry }
func (BindSubscribe) Send ¶
func (bindSubscribe BindSubscribe) Send(msgClassifier string, payload *resources.PayloadType)
type BindSubscribeInfo ¶
type BindSubscribeInfo struct { BindSubscribe string BindSubscribeEntry *resources.BindSubscribeEntry }
type BindSubscribeNotify ¶
type BindSubscribeNotify func(string, *SpineConnection, *resources.BindSubscribeEntry)
type Notifier ¶
type Notifier func(resources.DatagramType, SpineConnection)
type SpineConnection ¶
type SpineConnection struct { SME *ship.SMEInstance Address string MsgCounter int OwnDevice *resources.DeviceModel DiscoveryInformation *resources.NodeManagementDetailedDiscovery SubscriptionNofity Notifier SubscriptionData []*SubscriptionData // contains filtered or unexported fields }
func NewSpineConnection ¶
func NewSpineConnection(SME *ship.SMEInstance, ownDevice *resources.DeviceModel, bindSubscribeNotify BindSubscribeNotify, SubscriptionNofity Notifier) *SpineConnection
func (*SpineConnection) CountBindings ¶
func (conn *SpineConnection) CountBindings(serverAddr resources.FeatureAddressType) int
func (*SpineConnection) CountSubscriptions ¶
func (conn *SpineConnection) CountSubscriptions(serverAddr resources.FeatureAddressType) int
func (*SpineConnection) RecieveTimeout ¶
func (conn *SpineConnection) RecieveTimeout(seconds int) (resources.DatagramType, bool)
func (*SpineConnection) SendXML ¶
func (conn *SpineConnection) SendXML(header *resources.HeaderType, payload *resources.PayloadType)
func (*SpineConnection) StartDetailedDiscovery ¶
func (conn *SpineConnection) StartDetailedDiscovery()
func (*SpineConnection) StartRecieveHandler ¶
func (conn *SpineConnection) StartRecieveHandler()
type SpineNode ¶
type SpineNode struct { ShipNode *ship.ShipNode Connections []*SpineConnection DeviceStructure *resources.DeviceModel Bindings []*BindSubscribe Subscriptions []*BindSubscribe SubscriptionNofity Notifier }
func NewSpineNode ¶
type SubscriptionData ¶
Click to show internal directories.
Click to hide internal directories.