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

Agent::TCLI::Package::Tail::Line - A class for for lines to be tested.

SYNOPSIS

An object for storing Agent::TCLI::Test::Line information. Used to facilitate Agent::TCLI::Test::Tail.

ATTRIBUTES

The following attributes are accessible through standard get_ or set_ methods unless otherwise noted

= cut

input

The 'line' as it is input into the cache. This may actually be another object to be tested against.

count

The relative position within the test run of all lines. count will only contain numeric values.

birth_time

The birth_time that the line hit the tail system. birth_time will only contain Numeric values.

ttl

Line time to live. Set as a time() value upon creation so this is the actual time the line should expire. ttl will only contain Numeric values.

source

A URI indicating the source of the line. Necessary for monitoring multiple sources.

type

Describes the line type. "line" for plain text lines, ref($input) for objects. Perhaps others in the future. type will only contain scalar values.

METHODS

new ( hash of attributes )

See Attributes for their description.

INHERITED METHODS

This module is an Object::InsideOut object that inherits from Agent::TCLI::Base. It inherits methods from both. Please refer to their documentation for more details.

AUTHOR

Eric Hacker <hacker at cpan.org>

BUGS

SHOULDS and MUSTS are currently not enforced.

Test scripts not thorough enough.

Probably many others.

LICENSE

Copyright (c) 2007, Alcatel Lucent, All rights resevred.

This package is free software; you may redistribute it and/or modify it under the same terms as Perl itself.