architectural

package
v1.14.9 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SetOfComponentTypesRAM = map[string]interface{}{
	"Client":            &apps.Client{},
	"Server":            &apps.Server{},
	"Sender":            &apps.Sender{},
	"Receiver":          &apps.Receiver{},
	"Core":              &adaptive.Core{},
	"Unit":              &adaptive.Unit{},
	"Monevolutive":      &adaptive.Monevolutive{},
	"EvolutiveProtocol": &adaptive.EvolutiveProtocol{},
	"Monitor":           &adaptive.Monitor{},
	"Planner":           &adaptive.Planner{},
	"Executor":          &adaptive.Executor{},
	"Analyser":          &adaptive.Analyser{},
	"Jsonmarshaller":    &middleware.Jsonmarshaller{},
	"Gobmarshaller":     &middleware.Gobmarshaller{},
	"CRHTCP":            &middleware.CRHTCP{},
	"SRHTCP":            &middleware.SRHTCP{},
	"CRHUDP":            &middleware.CRHUDP{},
	"SRHUDP":            &middleware.SRHUDP{},
	"CRHTLS":            &middleware.CRHTLS{},
	"SRHTLS":            &middleware.SRHTLS{},
	"CRHQUIC":           &middleware.CRHQUIC{},
	"SRHQUIC":           &middleware.SRHQUIC{},
	"CRHRPC":            &middleware.CRHRPC{},
	"SRHRPC":            &middleware.SRHRPC{},
	"CRHHTTP":           &middleware.CRHHTTP{},
	"SRHHTTP":           &middleware.SRHHTTP{},
	"CRHHTTPS":          &middleware.CRHHTTPS{},
	"SRHHTTPS":          &middleware.SRHHTTPS{},
	"CRHHTTP2":          &middleware.CRHHTTP2{},
	"SRHHTTP2":          &middleware.SRHHTTP2{},
	"Requestor":         &middleware.Requestor{},
	"Naminginvoker":     &middleware.Naminginvoker{},
	"Namingserver":      &middleware.Namingserver{},
	"Namingproxy":       &namingproxy.Namingproxy{}}

Set of existing Components

View Source
var SetOfConnectorTypesRAM = map[string]connectors.Connector{
	shared.ONEWAY: {TypeName: shared.ONEWAY, Behaviour: "B = InvP.e1 -> InvR.e2 -> B", DefaultRightArity: 1,
		DefaultLeftArity: 1},
	shared.REQUEST_REPLY: {TypeName: shared.REQUEST_REPLY, Behaviour: "B = InvP.e1 -> InvR.e2 -> TerR.e2 -> TerP.e1 -> B", DefaultRightArity: 1,
		DefaultLeftArity: 1},
	shared.ONETON:       {Behaviour: shared.RUNTIME_BEHAVIOUR, DefaultLeftArity: 1, DefaultRightArity: shared.MAX_RIGHT_ARITY},
	shared.NTOONE:       {TypeName: shared.NTOONE, Behaviour: shared.RUNTIME_BEHAVIOUR, DefaultLeftArity: shared.MAX_LEFT_ARITY, DefaultRightArity: 1},
	shared.NTOONEREQREP: {TypeName: shared.NTOONEREQREP, Behaviour: shared.RUNTIME_BEHAVIOUR, DefaultLeftArity: shared.MAX_LEFT_ARITY, DefaultRightArity: 1},
	shared.ONETONREQREP: {TypeName: shared.ONETONREQREP, Behaviour: shared.RUNTIME_BEHAVIOUR, DefaultLeftArity: 1, DefaultRightArity: shared.MAX_RIGHT_ARITY}}

Set of existing Connectors

Functions

func ReadComponentTypesFromDisk

func ReadComponentTypesFromDisk() map[string]string

Types

type ArchitecturalRepository

type ArchitecturalRepository struct {
	CompLibrary map[string]*component.Component
	ConnLibrary map[string]connectors.Connector
}

func LoadArchitecturalRepository

func LoadArchitecturalRepository(businessComponents map[string]interface{}) ArchitecturalRepository

type ArchitecturalRepositoryManager

type ArchitecturalRepositoryManager interface {
	GetRepository() ArchitecturalRepository
	GetConnectorDefaultArities(string) (int, int)
	TypeExist(string) bool
}

func NewArchitecturalRepositoryManager

func NewArchitecturalRepositoryManager(businessComponents map[string]interface{}) ArchitecturalRepositoryManager

type ArchitecturalRepositoryManagerImpl

type ArchitecturalRepositoryManagerImpl struct {
	Repository ArchitecturalRepository
}

func (ArchitecturalRepositoryManagerImpl) GetConnectorDefaultArities

func (armImpl ArchitecturalRepositoryManagerImpl) GetConnectorDefaultArities(t string) (int, int)

func (ArchitecturalRepositoryManagerImpl) GetRepository

func (ArchitecturalRepositoryManagerImpl) TypeExist

func (armImpl ArchitecturalRepositoryManagerImpl) TypeExist(t string) bool

Jump to

Keyboard shortcuts

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