dnet

package module
v0.0.0-...-b14d210 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2017 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DNET_UNIVERSAL_APPLICATION_NAME = "localDNet"

This is for cases when DNet (as a Controller), whises to access module instance or theyr some other parts. In this case, DNet controller will be presented as DNET_UNIVERSAL_APPLICATION_NAME

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(
	application_controller common_types.ApplicationControllerI,
	logger *gologger.Logger,
) (
	*Controller,
	error,
)

func (*Controller) GetInnodeRPC

func (self *Controller) GetInnodeRPC(calling_app_name *common_types.ModuleName) (
	*rpc.Client,
	error,
)

func (*Controller) PossiblyNodeDiscoveredNotificationReceptor

func (self *Controller) PossiblyNodeDiscoveredNotificationReceptor(
	module_name *common_types.ModuleName,
	address common_types.NetworkAddress,
) error

func (*Controller) ServeConnection

func (self *Controller) ServeConnection(
	who *common_types.Address,
	conn net.Conn,
)

func (*Controller) TestOutgoingConnection

func (self *Controller) TestOutgoingConnection(conn net.Conn) error

type InnodeRPC

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

func NewInnodeRPC

func NewInnodeRPC(
	controller *Controller,
	calling_app_name *common_types.ModuleName,
) *InnodeRPC

func (*InnodeRPC) DiscoveredPossibleNodeMayBeProbe

func (self *InnodeRPC) DiscoveredPossibleNodeMayBeProbe(
	arg interface{},
	res interface{},
) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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