Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ServiceNetwork ¶
type ServiceNetwork struct {
// contains filtered or unexported fields
}
ServiceNetwork is facade for network.
func NewServiceNetwork ¶
func NewServiceNetwork( hostConf configuration.HostNetwork, nodeConf configuration.NodeNetwork) (*ServiceNetwork, error)
NewServiceNetwork returns a new ServiceNetwork.
func (*ServiceNetwork) GetAddress ¶
func (network *ServiceNetwork) GetAddress() string
GetAddress returns host public address.
func (*ServiceNetwork) RemoteProcedureRegister ¶
func (network *ServiceNetwork) RemoteProcedureRegister(name string, method core.RemoteProcedure)
RemoteProcedureRegister registers procedure for remote call on this host.
func (*ServiceNetwork) SendMessage ¶
SendMessage sends a message from MessageRouter.
Click to show internal directories.
Click to hide internal directories.