package OpenSRF::Transport;
use strict; use warnings;
use base 'OpenSRF';
+use Time::HiRes qw/time/;
use OpenSRF::DOM;
use OpenSRF::AppSession;
use OpenSRF::Utils::Logger qw(:level);
=cut
sub handler {
+ my $start_time = time();
my( $class, $service, $data ) = @_;
$logger->transport( "Transport handler() received $data", INTERNAL );
}
}
+
# cycle through and pass each oilsMessage contained in the message
# up to the message layer for processing.
for my $msg ($doc->documentElement->childNodes) {
}
+ $logger->debug(sprintf("Message processing duration: %.3fs",(time() - $start_time)), DEBUG);
return $app_session;
}