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::Net::Ping

VERSION

This document describes Agent::TCLI::Package::Net::Ping version 0.0.x

SYNOPSIS

ping target=example.com

DESCRIPTION

Makes a standard ping.

ATTRIBUTES

The following attributes are accessible through standard <attribute> methods unless otherwise noted.

These attrbiutes are generally internal and are probably only useful to someone trying to enhance the functionality of this Package module.

target

The default target for a ping target will only accept NetAddr::IP type values.

timeout

The default timeout for a ping timeout will only contain numeric values.

retry_count

The default number of retries before failing retry_count will only contain numeric values.

METHODS

Most of these methods are for internal use within the TCLI system and may be of interest only to developers trying to enhance TCLI.

new ( hash of attributes )

Usually the only attributes that are useful on creation are the verbose and do_verbose attrbiutes that are inherited from Agent::TCLI::Base.

_start

This POE event handler is called when POE starts up a Package. The _start method is :Cumulative within OIO.

_stop

This POE event handler is called when POE stops a Package.

_preinit

This private Object::InsideOut (OIO) method is used for object initialization.

_init

This private OIO method is used for object initialization.

INHERITED METHODS

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

AUTHOR

Eric Hacker <perl.mod at erichacker.com>

BUGS

SHOULDS and MUSTS are currently not always 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.