Changeset 356a9c26c4b3ecd30059f983907d4b00a270c27e in xas


Ignore:
Timestamp:
11/14/14 10:12:06 (5 years ago)
Author:
Kevin L. Esteb <kevin@…>
Branches:
master
Children:
80524e9e81a412ca74c34a84be3d28b8a923fb3b
Parents:
a4057fa6cfc06414b67428e5d02487354c0ddfcf
git-author:
Kevin L. Esteb <kevin@…> (11/14/14 10:12:06)
git-committer:
Kevin L. Esteb <kevin@…> (11/14/14 10:12:06)
Message:

Fixed some typos

Location:
trunk/lib/XAS/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/XAS/Lib/Net/POE/Client.pm

    r50a4331c5c06e744e72b3851c9403eb7ac64d3de r356a9c26c4b3ecd30059f983907d4b00a270c27e  
    4444# --------------------------------------------------------------------- 
    4545 
    46 sub session_intialize { 
     46sub session_initialize { 
    4747    my $self = shift; 
    4848 
     
    8787    my $alias = $self->alias; 
    8888 
    89     $self->log->debug("$alias: session_startup"); 
     89    $self->log->debug("$alias: entering session_startup"); 
    9090 
    9191    $poe_kernel->post($alias, 'server_connect'); 
     92 
     93    # walk the chain 
     94 
     95    $self->SUPER::session_startup(); 
     96 
     97    $self->log->debug("$alias: leaving session_startup"); 
    9298 
    9399} 
     
    96102    my $self = shift; 
    97103     
     104    my $alias = $self->alias; 
     105 
     106    $self->log->debug("$alias: entering session_shutdown"); 
     107 
    98108    $self->{socket}   = undef; 
    99109    $self->{wheel}    = undef; 
     
    104114    $self->SUPER::session_shutdown(); 
    105115 
     116    $self->log->debug("$alias: leaving session_shutdown"); 
     117     
    106118} 
    107119 
     
    111123    my $alias = $self->alias; 
    112124 
    113     $self->log->debug("$alias: session_pause"); 
     125    $self->log->debug("$alias: entering session_pause"); 
    114126 
    115127    $poe_kernel->call($alias, 'connection_down'); 
    116128 
     129    # walk the chain 
     130 
     131    $self->SUPER::session_pause(); 
     132 
     133    $self->log->debug("$alias: leaving session_pause"); 
     134 
    117135} 
    118136 
     
    122140    my $alias = $self->alias; 
    123141 
    124     $self->log->debug("$alias: session_resume"); 
     142    $self->log->debug("$alias: entering session_resume"); 
    125143 
    126144    $poe_kernel->call($alias, 'connection_up'); 
     145 
     146    # walk the chain 
     147 
     148    $self->SUPER::session_resume(); 
     149 
     150    $self->log->debug("$alias: leaving session_resume"); 
    127151 
    128152} 
  • trunk/lib/XAS/Lib/POE/Service.pm

    rf7b6e195066179a1e8d3603ca88a9f19bb1d1339 r356a9c26c4b3ecd30059f983907d4b00a270c27e  
    2727    my $self = shift; 
    2828 
     29    my $alias = $self->alias; 
     30 
     31    $self->log->debug("$alias: session_initialize()"); 
     32 
    2933    $poe_kernel->state('session_idle',   $self, '_session_idle'); 
    3034    $poe_kernel->state('session_pause',  $self, '_session_pause'); 
  • trunk/lib/XAS/Lib/Stomp/POE/Client.pm

    rc91280cb582532e42a6555898e9c3662f7a6c282 r356a9c26c4b3ecd30059f983907d4b00a270c27e  
    3636# --------------------------------------------------------------------- 
    3737 
    38 sub session_initalize { 
     38sub session_initialize { 
    3939    my $self = shift; 
    4040 
     
    6969    ); 
    7070 
     71    $self->log->debug("$alias: entering session_shutdown()"); 
     72 
    7173    $poe_kernel->call($alias, 'write_data', $frame); 
     74 
     75    # walk the chain 
     76 
    7277    $self->SUPER::session_shutdown(); 
     78 
     79    $self->log->debug("$alias: leaving session_shutdown()"); 
    7380 
    7481} 
     
    8289 
    8390    my $alias = $self->alias; 
    84     my $frame = $self->frame->connect( 
     91    my $frame = $self->stomp->connect( 
    8592        -login    => $self->login, 
    8693        -passcode => $self->passcode 
    8794    ); 
    8895 
     96    $self->log->debug("$alias: entering handle_connection()"); 
     97 
    8998    $poe_kernel->post($alias, 'write_data', $frame); 
    90      
     99 
     100    $self->log->debug("$alias: leaving handle_connection()"); 
     101 
    91102} 
    92103 
     
    95106 
    96107    my $alias = $self->alias; 
     108 
     109    $self->log->debug("$alias: entering handle_connected()"); 
    97110 
    98111    if ($self->tcp_keepalive) { 
     
    108121 
    109122    $poe_kernel->post($alias, 'connection_up'); 
     123 
     124    $self->log->debug("$alias: leaving handle_connected()"); 
    110125 
    111126} 
     
    138153    my ($self, $frame) = @_[OBJECT, ARG0]; 
    139154 
     155    my $alias = $self->alias; 
     156 
     157    $self->log->debug("$alias: handle_noop()"); 
     158 
    140159} 
    141160 
     
    149168    my $alias = $self->alias; 
    150169 
    151     $self->log->debug("$alias: _server_message()"); 
     170    $self->log->debug("$alias: entering _server_message()"); 
    152171 
    153172    if ($frame->command eq 'CONNECTED') { 
     
    181200 
    182201    } 
     202 
     203    $self->log->debug("$alias: leaving _server_message()"); 
    183204 
    184205} 
Note: See TracChangeset for help on using the changeset viewer.