Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

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

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


SYNOPSIS

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

ATTRIBUTES

The following attributes are accessible through standard accessor/mutator methods unless otherwise noted

input
The 'line' as it is input into the cache. Traditionally this will be the actual text fron the file being tailed. It may optionally be another object to be tested against. The POE::Filter being used with the Tail determines what the contents of input will be.

count
The relative position within the current 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 an offset to time() 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.


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.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy