Tirex::Source - A source of a job request
Contents
Description
This is a virtual parent class. Only instantiate subclasses: Tirex::Source::Command,
Tirex::Source::ModTile, Tirex::Source::Test
Methods
Each subclass must define the following methods:
Tirex::Source::...->new()
Create new object of this source class.
$source->readable($socket)=head2$source->writable($socket)
These methods are called if the socket that was associated to this source object becomes readable or
writable.
The source will return true from any of these if reading/writing has been completed, and false if waits
for another chance to read/write.
$source->notify()
This method is called once a tile has been rendered to notify the source.
perl v5.40.0 2024-11-08 Tirex::Source(3pm)
Name
Tirex::Source - A source of a job request
Synopsis
my $source = Tirex::Source::...->new();
$source->readable($socket);
$source->writable($socket);
$source->notify();
