PHP Класс Scalr\Modules\Platforms\Cloudstack\Observers\CloudstackObserver

Наследование: extends EventObserver
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$ObserverName

Открытые методы

Метод Описание
OnBeforeHostTerminate ( BeforeHostTerminateEven\BeforeHostTerminateEvent $event )
OnFarmTerminated ( FarmTerminatedEven\FarmTerminatedEvent $event ) Release used elastic IPs if farm terminated
OnHostDown ( HostDownEven\HostDownEvent $event ) Release IP address when instance terminated
OnHostInit ( HostInitEven\HostInitEvent $event )
OnHostUp ( HostUpEven\HostUpEvent $event ) Allocate and Assign Elastic IP to instance if role use it.
__construct ( )

Описание методов

OnBeforeHostTerminate() публичный Метод

public OnBeforeHostTerminate ( BeforeHostTerminateEven\BeforeHostTerminateEvent $event )
$event BeforeHostTerminateEven\BeforeHostTerminateEvent

OnFarmTerminated() публичный Метод

Release used elastic IPs if farm terminated
public OnFarmTerminated ( FarmTerminatedEven\FarmTerminatedEvent $event )
$event FarmTerminatedEven\FarmTerminatedEvent

OnHostDown() публичный Метод

Release IP address when instance terminated
public OnHostDown ( HostDownEven\HostDownEvent $event )
$event HostDownEven\HostDownEvent

OnHostInit() публичный Метод

public OnHostInit ( HostInitEven\HostInitEvent $event )
$event HostInitEven\HostInitEvent

OnHostUp() публичный Метод

Allocate and Assign Elastic IP to instance if role use it.
public OnHostUp ( HostUpEven\HostUpEvent $event )
$event HostUpEven\HostUpEvent

__construct() публичный Метод

public __construct ( )

Описание свойств

$ObserverName публичное свойство

public $ObserverName