controller

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerTestCommand

type ControllerTestCommand struct {
	command.SimpleCommand
}

ControllerTestCommand A SimpleCommand subclass used by ControllerTest.

func (*ControllerTestCommand) Execute

func (self *ControllerTestCommand) Execute(notification interfaces.INotification)

Execute Fabricate a result by multiplying the input by 2

- parameter note: the note carrying the ControllerTestVO

type ControllerTestCommand2

type ControllerTestCommand2 struct {
	command.SimpleCommand
}

ControllerTestCommand2 A SimpleCommand subclass used by ControllerTest.

func (*ControllerTestCommand2) Execute

func (self *ControllerTestCommand2) Execute(notification interfaces.INotification)

Execute Fabricate a result by multiplying the input by 2 and adding to the existing result

This tests accumulation effect that would show if the command were executed more than once.

- parameter note: the note carrying the ControllerTestVO

type ControllerTestVO

type ControllerTestVO struct {
	Input  int
	Result int
}

ControllerTestVO A utility class used by ControllerTest.

Jump to

Keyboard shortcuts

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