Transmission::AttributeRole(3pm)

Transmission::AttributeRole3pm

For torrent and client

Overview

This role is used by Transmission::Client and Transmission::Torrent. It requires the consuming class to provide the method "read_all()".

Attributes

client

 $obj = $self->client;

Returns a Transmission::Client object.

lazy_write

 $bool = $self->lazy_write;
 $self->lazy_write($bool);

Will prevent writeable attributes from sending a request to Transmission. "write_all()" can then later be used to sync data.

eager_read

 $bool = $self->eager_read;

Setting this attribute in constructor forces "read_all()" to be called. This will again populate all (or most) attributes right after the object is constructed (if Transmission answers the request).

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9–10
  3. 11
  4. 12–13

License

Author

See Transmission::Client

From libtransmission-client-perl 0.0806-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.