POE::Component::Supervisor::Handle::Session(3)

NAME
POE::Component::Supervisor::Handle::Session - Helps POE::Component::Supervisor babysit POE sessions.

VERSION
version 0.09

SYNOPSIS
    # used by L<POE::Component::Supervisor::Supervised::Session>

DESCRIPTION
This supervision handle will watch POE::Sessions

ATTRIBUTES
These attributes apply to the POE::Component::Supervisor::Supervised::Session constructor.

start_callback
    The body of code to run in order to (re)spawn the session(s).

    If "implicit_tracking" is off (the default) the sessions to be tracked must be returned from this method.

implicit_tracking
    When true, all created child sessions will be implicitly tracked.

    This means that you can generally just create POE components or sessions in the start callback.

    Otherwise the sessions to be tracked must be returned from the "start_callback".

    Defaults to false.

METHODS

new Never called directly, only called by POE::Component::Supervisor::Supervised::Session.

stop
    Stop the supervised sessions.

is_running