context

package
v0.0.0-...-f305655 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent = agent.Agent

type AgentID

type AgentID = agent.AgentID

type Component

type Component = component.Component

type Context

type Context interface {
	GetModule() Module
	GetSender() Agent
	GetComponent() Component
	GetAttach() interface{}
	Store(int, interface{})
	Get(int) interface{}
}

type Module

type Module interface {
	GetID() AgentID
	GetName() string
	RpcCall(string, ...interface{})
	AddTimer(delay uint64, op TimerHandler, args ...interface{}) uint64
	RemoveTimer(timer_id uint64) bool
}

type TimerHandler

type TimerHandler = timer.TimerHandler

Jump to

Keyboard shortcuts

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