Net Peep Conf
Details
| Last Update: | 2008-02-14 05:01:20 |
| Version: | Net::Peep::Conf |
| License/Program Type: | Perl Artistic License |
| Publisher: | Collin Starkweather |
| Price: | $0.00 |
Description:
Net::Peep::Conf is a Perl extension for providing an object
representation of configuration information for Peep: The Network
Auralizer.
SYNOPSIS
use Net::Peep::Conf;
my $conf = new Net::Peep::Conf;
$conf->setBroadcast($class0,$value0);
$conf->setBroadcast($class1,$value1);
$conf->getBroadcastList();
Net::Peep::Conf provides an object interface for Peep
configuration information, typically extracted from a Peep
configuration file (e.g., /etc/peep.conf) by the Net::Peep::Parser
module.
PUBLIC METHODS
setApp($appname) - A unique identifier associated with a
client
configuration. Typically the name of the application using
the
configuration information; e.g., logparser.
getApp() - Returns the identifier set with setApp.
getPort() - Returns the port set with setPort.
setPort($port) - Sets a port number. Typically the client
broadcast
port.
getBroadcastList() - Returns a list of all broadcast names
associated with all classes.
getBroadcast($class) - Gets the broadcast string for the
class
$class.
addBroadcast($class,$value) - Adds the broadcast string
(consisting of IP/domain and port) named $name for the class
$class.
getClassList() - Returns a list of all class names that
have
associated server lists.
getClass($class) - Returns a list of servers associated with
the
class $class.
setClass($class,$arrayref) - Associates the class $class with
the
list of servers given in $arrayref.
getEventList() - Returns a list of all event names.
getEvent($event) - Returns the event information for the event
with
name $event.
setEvent($event,$hashref) - Associates the event $event with
the
information contained in $hashref.
getStateList() - Returns a list of all state names.
getState($state) - Returns the state information associated
with the
state $state.
setState($event,$hashref) - Associates the state $state with
the
information contained in $hashref.
setConfigurationText($client,$text) - Sets the configuration
text to
$text for client $client. For reference and debugging only.
The
text is not actually used internally for any purpose.
getNotificationText($client) - Returns the configuration text
for
client $client.
setNotificationText($client,$text) - Sets the configuration
text to
$text for client $client. For reference and debugging only.
The
text is not actually used internally for any purpose.
getConfigurationText($client) - Returns the configuration text
for
client $client.
setClientEvent($name,$arrayref) - Sets the events associated
with
the client $name.
getClientEvents($name) - Returns the events associated with
the client $name.
getClientEventList() - Returns all events associated with all
clients.
checkClientEvent() - The method name is a question: Based
on
command-line or configuration file settings, should this
client
event be considered active in the current client? For
example,
should the logparser check the regular expression for this
event
against log files?
setVersion() - Sets the version number.
getVersion() - Return the version number taken from the Peep
configuration
file (e.g., peep.conf) if it exists. Confesses if the version
has not been
set yet. See also versionExists().
versionExists() - Returns 1 if a version has been set with the
setVersion()
method, 0 otherwise.
setSoundPath() - Sets the path to the Peep sound
respository
(typically /usr/local/share/peep/sounds).
getSoundPath() - Returns the sound path. Confesses if the
sound
path has not been set yet. See also soundPathExists().
soundPathExists() - Returns 1 if the sound path has been set
with
the setSoundPath() method, 0 otherwise.
Requirements:
· Perl
0 comments
Add to
Net Peep Conf Version History
Related Software
|
|
From category: Perl-Modules |
| Language::MuldisD contains a formal spec of Muldis D relational DBMS language.... |
|
|
From category: Version-Control |
| ArchLog 1.2 is version control software developed by Franck Pommereau. ArchLog is a log-oriented GUI for the Arch revision control system. ArchLog allows you to take notes as you hack, structuring... |
|
|
From category: Preprocessors |
| Berkeley Yacc is preprocessors software developed by T.E.Dickey. Berkeley Yacc (byacc) is generally conceded to be the best yacc variant available. In contrast to bison, it is written to avoid depe... |
|
|
From category: Libraries |
| FaceRSS 0.1 is libraries software developed by Matej Koval. FaceRSS is a simple JavaServer Faces (JSF) component that allows you to display news from specified RSS url source in one configurable ta... |
|
|
From category: Libraries |
| cstring is a small and simple C library for the definition and manipulation of expandable C-style strings.... |
|
|
From category: Libraries |
| XML::Quick is a Perl module to generate XML from hashes (and other data).... |
|
|
From category: Libraries |
| libft is an open source version of the fischertechnik ROBO Interface Library for Unix like system.... |
|
|
From category: Libraries |
| C Minimal Perfect Hashing Library 0.5 is libraries software developed by Fabiano Cupertino Botelho and Davi de Castro Reis. C Minimal Perfect Hashing Library encapsulates the newest and more effici... |
|
|
From category: Libraries |
| Email::FolderType::MH 0.812 is libraries software developed by Simon Wistow. Email::FolderType::MH is a Perl class to help Email::FolderType recognise MH mail directories. SUBROUTINES \... |
|
|
From category: Compilers |
| CMake is a cross-platform, open-source build system.... |
|
|
From category: Perl-Modules |
| WWW::Authen::Simple is a cookie based session and authentication module using database backend.... |
|
|
From category: Libraries |
| Aranea framework 1.0.3 is libraries software developed by Aranea Team. Aranea is an Open Source Java Hierarchical Model-View-Controller Web Framework that provides a common simple approach to build... |
|
|
From category: Libraries |
| Audio::DB::Adaptor::dbi::sqlite 0.01 is libraries software developed by Todd W. Harris. Audio::DB::Adaptor::dbi::sqlite is a database adaptor for a specific mysql schema. This adaptor implem... |
|
|
From category: Libraries |
| FFmpeg::Stream::Video 5704 is libraries software developed by Allen Day. FFmpeg::Stream::Video is a video stream from a (multi)media stream group. SYNOPSIS $ff = FFmpeg->new();... |
|
|
From category: Assembler-Tools |
| confiserie 0.0.4 is assembler tools software developed by Malet JL. confiserie is a replacement for GNU(Posix?) systems of the well known gnu autoconf it\'s also the french term for \"sweet\". It\'... |
Leave a comment