*** empty log message ***
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
<li><a class="reference" href="#hash-failed-alert" id="id29" name="id29">hash_failed_alert</a></li>
|
||||
<li><a class="reference" href="#peer-error-alert" id="id30" name="id30">peer_error_alert</a></li>
|
||||
<li><a class="reference" href="#invalid-request-alert" id="id31" name="id31">invalid_request_alert</a></li>
|
||||
<li><a class="reference" href="#chat-message-alert" id="id32" name="id32">chat_message_alert</a></li>
|
||||
<li><a class="reference" href="#torrent-finished-alert" id="id32" name="id32">torrent_finished_alert</a></li>
|
||||
<li><a class="reference" href="#dispatcher" id="id33" name="id33">dispatcher</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
@@ -101,7 +101,8 @@ party.</li>
|
||||
of a resumed torrent. Saves the storage state, piece_picker state as well as all local
|
||||
peers in a separate fast-resume file.</li>
|
||||
<li>Supports the extension protocol <a class="reference" href="http://nolar.com/azureus/extended.htm">described by Nolar</a>. See <a class="reference" href="#extensions">extensions</a>.</li>
|
||||
<li>Supports files > 2 gigabytes (currently only on windows)</li>
|
||||
<li>Supports files > 2 gigabytes (currently only on windows).</li>
|
||||
<li>Supports the <tt class="literal"><span class="pre">no_peer_id=1</span></tt> extension that will ease the load off trackers.</li>
|
||||
</ul>
|
||||
</blockquote>
|
||||
<p>Functions that are yet to be implemented:</p>
|
||||
@@ -1074,7 +1075,8 @@ struct peer_error_alert: alert
|
||||
</div>
|
||||
<div class="section" id="invalid-request-alert">
|
||||
<h2><a name="invalid-request-alert">invalid_request_alert</a></h2>
|
||||
<p>Thie is a debug alert that is generated by an incoming invalid piece request.</p>
|
||||
<p>This is a debug alert that is generated by an incoming invalid piece request. It is
|
||||
generated as severity level <tt class="literal"><span class="pre">debug</span></tt>.</p>
|
||||
<pre class="literal-block">
|
||||
struct invalid_request_alert: alert
|
||||
{
|
||||
@@ -1092,27 +1094,46 @@ struct invalid_request_alert: alert
|
||||
};
|
||||
</pre>
|
||||
</div>
|
||||
<div class="section" id="chat-message-alert">
|
||||
<h2><a name="chat-message-alert">chat_message_alert</a></h2>
|
||||
<p>This alert is generated when you receive a chat message from another peer. Chat messages
|
||||
are supported as an extension ("chat"). It is generated as severity level <tt class="literal"><span class="pre">critical</span></tt>,
|
||||
even though it doesn't necessarily require any user intervention, it's high priority
|
||||
since you would almost never want to ignore such a message. The alert class contain
|
||||
a <a class="reference" href="#torrent-handle">torrent_handle</a> to the torrent in which the sender-peer is a member and the peer_id
|
||||
of the sending peer.</p>
|
||||
<div class="section" id="torrent-finished-alert">
|
||||
<h2><a name="torrent-finished-alert">torrent_finished_alert</a></h2>
|
||||
<p>This alert is generated when a torrent switches from being a downloader to a seed.
|
||||
It will only be generated once per torrent. It contains a torrent_handle to the
|
||||
torrent in question. This alert is generated as severity level <tt class="literal"><span class="pre">info</span></tt>.</p>
|
||||
<pre class="literal-block">
|
||||
struct chat_message_alert: alert
|
||||
struct torrent_finished_alert: alert
|
||||
{
|
||||
chat_message_alert(const torrent_handle& h
|
||||
, const peer_id& sender
|
||||
torrent_finished_alert(
|
||||
const torrent_handle& h
|
||||
, const std::string& msg);
|
||||
|
||||
virtual std::auto_ptr<alert> clone() const;
|
||||
|
||||
torrent_handle handle;
|
||||
peer_id sender;
|
||||
};
|
||||
</pre>
|
||||
<!-- chat_message_alert
|
||||
- - - - - - - - - - - - - - - - - -
|
||||
|
||||
This alert is generated when you receive a chat message from another peer. Chat messages
|
||||
are supported as an extension ("chat"). It is generated as severity level ``critical``,
|
||||
even though it doesn't necessarily require any user intervention, it's high priority
|
||||
since you would almost never want to ignore such a message. The alert class contain
|
||||
a torrent_handle_ to the torrent in which the sender-peer is a member and the peer_id
|
||||
of the sending peer.
|
||||
|
||||
::
|
||||
|
||||
struct chat_message_alert: alert
|
||||
{
|
||||
chat_message_alert(const torrent_handle& h
|
||||
, const peer_id& sender
|
||||
, const std::string& msg);
|
||||
|
||||
virtual std::auto_ptr<alert> clone() const;
|
||||
|
||||
torrent_handle handle;
|
||||
peer_id sender;
|
||||
}; -->
|
||||
</div>
|
||||
<div class="section" id="dispatcher">
|
||||
<h2><a name="dispatcher">dispatcher</a></h2>
|
||||
|
Reference in New Issue
Block a user