Class monitor

Description

BuddyServ IRC Services

Monitor IRC pseudo client handler. Manages extra service functions, and graphing commands.

Located in /includes/class/Class.monitor.php (line 25)


	
			
Method Summary
void check_active ()
void check_rrd ()
bool exists (string $name)
void initialize (string $nick, string $username, string $host, string $name)
void introduce ()
void load_matches ()
bool match (string $nick, string $channel, array $arguments)
bool match_exists (string $name)
void new_notification (string $root, string $name)
bool onoff (string $nick, string $channel, string $enabled)
void parser (string $nick,  $channel, string $arguments)
void seed (string $nick, string $channel, string $file)
mixed update (string $nick, string $channel)
mixed __get (string $what)
Methods
check_active (line 139)

Check for intermessage from seedbox clients.

void check_active ()
check_rrd (line 84)

Check if its time to update the rrd graph, and create an image for the most recent numbers.

void check_rrd ()
exists (line 426)

Check if a file exists in the release table

bool exists (string $name)
  • string $name
initialize (line 47)

Initialize the current service client

void initialize (string $nick, string $username, string $host, string $name)
  • string $nick
  • string $username
  • string $host
  • string $name
introduce (line 73)

Introduce the client to the network.

void introduce ()
load_matches (line 398)

Load a list of all the matches we should attempt to autoseed without being told to.

void load_matches ()
match (line 293)

Check if an entry is already in the autoseed table.

bool match (string $nick, string $channel, array $arguments)
  • string $nick
  • string $channel
  • array $arguments
match_exists (line 378)

Check if a match exists for auto-seeding

bool match_exists (string $name)
  • string $name
new_notification (line 448)

Add notifications from the prebot to the release database for future use.

void new_notification (string $root, string $name)
  • string $root
  • string $name
onoff (line 268)

Enable or disable autoseed functions

bool onoff (string $nick, string $channel, string $enabled)
  • string $nick
  • string $channel
  • string $enabled
parser (line 220)

Called to parse any messages to monitor

void parser (string $nick,  $channel, string $arguments)
  • string $nick
  • string $arguments
  • $channel
seed (line 346)

Add a release to the seed table for the seedboxes next run

void seed (string $nick, string $channel, string $file)
  • string $nick
  • string $channel
  • string $file
update (line 325)

Force updates

mixed update (string $nick, string $channel)
  • string $nick
  • string $channel
__get (line 61)

magic get.

mixed __get (string $what)
  • string $what

Documentation generated on Thu, 19 Nov 2009 20:25:19 -0700 by phpDocumentor 1.4.1