platypush.message.event.torrent

class platypush.message.event.torrent.TorrentDownloadCompletedEvent(url, *args, **kwargs)[source]

Event triggered upon torrent state change

__init__(url, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.torrent.TorrentDownloadProgressEvent(url, *args, **kwargs)[source]

Event triggered upon torrent download progress

__init__(url, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.torrent.TorrentDownloadStartEvent(url, *args, **kwargs)[source]

Event triggered upon torrent download start

__init__(url, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.torrent.TorrentDownloadStopEvent(url, *args, **kwargs)[source]

Event triggered when a torrent transfer is stopped

__init__(url, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.torrent.TorrentDownloadedMetadataEvent(url, *args, **kwargs)[source]

Event triggered upon torrent metadata download completed

__init__(url, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.torrent.TorrentEvent(*args, **kwargs)[source]

Base class for torrent events

__init__(*args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.torrent.TorrentPausedEvent(url, *args, **kwargs)[source]

Event triggered when a torrent transfer is paused

__init__(url, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.torrent.TorrentQueuedEvent(url, *args, **kwargs)[source]

Event triggered upon when a new torrent transfer is queued

__init__(url, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.torrent.TorrentResumedEvent(url, *args, **kwargs)[source]

Event triggered when a torrent transfer is resumed

__init__(url, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.torrent.TorrentSeedingStartEvent(url, *args, **kwargs)[source]

Event triggered upon torrent seeding start

__init__(url, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]

class platypush.message.event.torrent.TorrentStateChangeEvent(url, *args, **kwargs)[source]

Event triggered upon torrent state change

__init__(url, *args, **kwargs)[source]

Params: target – Target node [String] origin – Origin node (default: current node) [String] id – Event ID (default: auto-generated) kwargs – Additional arguments for the event [kwDict]