
POE::XUL::Session - POE::XUL session object

Normaly a POE::XUL::Session isn't created directly, but is created during POE::XUL::Application's spawn.

POE::XUL::Session provides half of the margic for POE::XUL::Application. It implements perl-like event invocation. It makes sure the change manager and other bits of global data are always available to event handlers. It deals with most of the house keeping that POE::XUL applications have to do.
Access an application's session is done threw the "server" in POE::XUL::Application.

Returns the unique identifier of the current application.
$node->label( server->SID );
Returns the POE::Session identifier. See "ID" in POE::Session
Returns the POE::Session object.
Returns the name of the current POE event handler. Equivalent to $_[STATE] is regular POE code.
Equivalent to $_[SENDER] is regular POE code.
Equivalent to $_[CALLER_FILE] is regular POE code.
Equivalent to $_[CALLER_LINE] is regular POE code.
Equivalent to $_[CALLER_STATE] is regular POE code.

Philip Gwyn <gwyn-at-cpan.org>


Copyright 2007-2008 by Philip Gwyn. All rights reserved;
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

perl(1), POE::XUL, POE::XUL::Event, POE::XUL::Node, POE::XUL::Application.