LCC::Backend - base class for storing local status
use LCC; $lcc = LCC->new( | {method => value} );
$lcc->Backend( $source, | {method => value} ); # automatic type check $lcc->Backend( 'type', $source, | {method => value} ); # force 'type'
The Backend object of the Perl support for LCC. Do not create directly, but through the Backend method of the LCC object.
These methods are available to the LCC::Backend object.
$backend->auto_update( 1 ); $auto_update = $backend->auto_update;
Sets (and/or returns) the flag that indicates whether the backend should automatically update the status when the object goes out of scope.
By default, an update will only be done when the the update manpage method is called specifically.
$backend->complete;
Indicate that the information about the complete set of documents should be sent to the UNS, ignoring any previously saved status.
Can also be called directly on the LCC object.
$backend->partial; $backend->partial( 1 );
Indicate that only the information of documents that are deemed to be changed, should be sent to the UNS. If however the UNS has indicated that a full set of information should be sent (as a response during the previous update), then the update will occur as if the complete manpage has been called.
The optional flag indicates to ignore the flag set by the UNS, so that a partial update will be done even if the UNS has indicated that a full update should be done.
Can also be called directly on the LCC object.
$backend->update;
Update the status of the check to the backend.
Can also be called directly on the LCC object.
Elizabeth Mattijsen, <liz@dijkmat.nl>.
Please report bugs to <perlbugs@dijkmat.nl>.
Copyright (c) 2002 Elizabeth Mattijsen <liz@dijkmat.nl>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
http://lococa.sourceforge.net, the LCC.pm and the other LCC::xxx modules.