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{}, "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 ¶
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 (armImpl ArchitecturalRepositoryManagerImpl) GetRepository() ArchitecturalRepository
func (ArchitecturalRepositoryManagerImpl) TypeExist ¶
func (armImpl ArchitecturalRepositoryManagerImpl) TypeExist(t string) bool
Click to show internal directories.
Click to hide internal directories.