Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node is an essence which provides communication between network level and MessageRouter.
func (Node) GetReference ¶
GetReference returns a Node domain ID.
type Nodenetwork ¶
type Nodenetwork struct {
// contains filtered or unexported fields
}
Nodenetwork is nodes manager.
func NewNodeNetwork ¶
func NewNodeNetwork(nodeCfg configuration.NodeNetwork) *Nodenetwork
NewNodeNetwork creates a new nodenetwork.
func (*Nodenetwork) AddNode ¶
func (network *Nodenetwork) AddNode(nodeID, hostID, domainID string) error
AddNode adds a new node to nodes map.
func (*Nodenetwork) GetReferenceHostID ¶
func (network *Nodenetwork) GetReferenceHostID(ref string) (string, error)
GetReferenceHostID returns a host found by reference.
Click to show internal directories.
Click to hide internal directories.