The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

XAS::Lib::Connector - Perl extension for the XAS environment

SYNOPSIS

  use XAS::Lib::Connector;

  my $connection = XAS::Lib::Connector->new(
     -logger   => 'logger',
     -login    => 'xas',
     -passcode => 'xas'
  );

DESCRIPTION

This module is the base class used for connecting to STOMP v1.0 message queue servers.

PUBLIC METHODS

new

This method creates the initial session, and checks for the following parameters:

-logger

The name of the logging session.

-login

The login name to be used on the message queue server.

-passcode

The passcode to be used on the message queue server.

reload($kernel, $session)

This module will handle the HUP signal. It currently executes POE's sig_handled() method.

$kernel

A pointer to the POE kernel.

$session

A point to the current POE session.

exception_handler($ex)

Provide a default exception handler.

$ex

The exception to handle.

SEE ALSO

XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (C) 2012 by Kevin L. Esteb

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.