NAME

POE::Component::Supervisor::Handle - Base role for supervision handles

SYNOPSIS

# see Handle::Proc and Handle::Session

DESCRIPTION

This is a base role for supervision handles.

ATTRIBUTES

supervisor

The POE::Component::Supervisor utilizing over this handle.

child

The child descriptor this handle was spawned for.

METHODS

stop

Stops the running supervised thingy.

Required.

is_running

Checks if the supervised thingy is running.

Required.

stop_for_restart

By default an alias to stop.

If stopping for the purpose of a restart should be handled differently this can be overridden.