processor_manager

package
v0.0.0-...-8ab07fe Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddInputOKQueue

type AddInputOKQueue struct{}

type AddInputQueue

type AddInputQueue struct {
	QueueID  uuid.UUID
	QueuePID *actor.PID
}

type AddOutputOKQueue

type AddOutputOKQueue struct{}

type AddOutputQueue

type AddOutputQueue struct {
	QueueID  uuid.UUID
	QueuePID *actor.PID
}

type GetProcessorInfoMessage

type GetProcessorInfoMessage struct{}

type GetProcessorInfoOKMessage

type GetProcessorInfoOKMessage struct {
	ID           uuid.UUID
	Type         string
	InputQueues  []queue_model.Queue
	OutputQueues queue_model.Queue
}

type ProcessorManager

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

func (*ProcessorManager) AddInputQueue

func (state *ProcessorManager) AddInputQueue(msg *AddInputQueue) error

func (*ProcessorManager) AddOutputQueue

func (state *ProcessorManager) AddOutputQueue(msg *AddOutputQueue) error

func (*ProcessorManager) GetProcessorInfo

func (state *ProcessorManager) GetProcessorInfo() (uuid.UUID, string, []queue_model.Queue, queue_model.Queue)

func (*ProcessorManager) Receive

func (state *ProcessorManager) Receive(context actor.Context)

func (*ProcessorManager) StartProcessor

func (state *ProcessorManager) StartProcessor() error

func (*ProcessorManager) StopProcessor

func (state *ProcessorManager) StopProcessor() error

type StartProcessorMessage

type StartProcessorMessage struct{}

type StartProcessorOKMessage

type StartProcessorOKMessage struct{}

type StopProcessorMessage

type StopProcessorMessage struct{}

type StopProcessorOKMessage

type StopProcessorOKMessage struct{}

Jump to

Keyboard shortcuts

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