GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PIPELINE::SEGMENT (3)

.ds Aq ’

NAME

Pipeline::Segment - basic class for a segment

CONTENTS

SYNOPSIS



  use Pipeline::Segment;
  my $ps = Pipeline::Segment->new();
  $ps->dispatch();



DESCRIPTION

Pipeline::Segment is designed as a part of the Pipeline system. The Pipeline::Segment class is designed to be subclassed as a part of the Pipeline system. The primary method that needs to be overloaded is the dispatch method, which the Pipeline class uses to enter each individual segment that it contains.

METHODS

The Pipeline::Segment class inherits from Pipeline::Base and therefore also has any additional methods that its superclass may have.
init() The init method is called at construction time. Any arguments passed to the new method are passed to it.
dispatch() The dispatch method causes the segment to perform its action.
dispatch_method() The dispatch_method gets and sets the method that gets called on dispatch, by default this is the dispatch() method.
cleanup_dispatch() The cleanup_dispatch method does post-processing on the segment to ensure no nasty circular references are lying around, as well as disconnecting various objects that are only useful during a dispatch.
store() The store method gets the current store.
parent() The parent method returns the pipeline that the segment is current operating from. It is set at dispatch time by the calling pipeline.

SEE ALSO

Pipeline, Pipeline::Segment::Async

AUTHOR

James A. Duncan <jduncan@fotango.com>

COPYRIGHT

Copyright 2003 Fotango Ltd. All Rights Reserved.

This software is released under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PIPELINE::SEGMENT (3) 2004-08-09

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.