DOSwarmStats 構造体
ファイルのダウンロードとアップロードの統計情報のフィールドが含まれます。
構文
typedef struct _DOSwarmStats {
LPWSTR fileId;
LPWSTR sourceURL;
UINT64 fileSize;
UINT64 totalBytesDownloaded;
UINT64 bytesFromLanPeers;
UINT64 bytesFromGroupPeers;
UINT64 bytesFromInternetPeers;
UINT64 bytesFromHttp;
UINT64 bytesFromDoinc;
UINT64 bytesToLanPeers;
UINT64 bytesToGroupPeers;
UINT64 bytesToInternetPeers;
UINT httpConnectionCount;
UINT doincConnectionCount;
UINT lanConnectionCount;
UINT groupConnectionCount;
UINT internetConnectionCount;
UINT downloadDuration;
DownloadMode downloadMode;
SwarmStatus status;
BOOL isBackground;
} DOSwarmStats;
メンバー
-
fileId
-
AddFileWithRanges 呼び出しで指定された Null で終わる文字列。
-
sourceURL
-
サーバー上のファイルの名前を含む null で終わる文字列 (例: https://< server>/path>/<file.ext)。
-
ファイルサイズ
-
ファイルのサイズ (バイト単位)。
-
totalBytesDownloaded
-
転送されたバイトの合計数。
-
bytesFromLanPeers
-
LAN ピアから転送されたバイト数。
-
bytesFromGroupPeers
-
グループ ピアから転送されたバイト数。
-
bytesFromInternetPeers
-
インターネット ピアから転送されたバイト数。
-
bytesFromHttp
-
http から転送されたバイト数。
-
bytesFromDoinc
-
内部使用専用です。
-
bytesToLanPeers
-
LAN ピアに転送されたバイト数。
-
bytesToGroupPeers
-
グループ ピアに転送されたバイト数。
-
bytesToInternetPeers
-
インターネット ピアに転送されたバイト数。
-
httpConnectionCount
-
http 接続の数。
-
doincConnectionCount
-
内部使用専用です。
-
lanConnectionCount
-
LAN 接続の数。
-
groupConnectionCount
-
グループ接続の数。
-
internetConnectionCount
-
インターネット接続の数。
-
downloadDuration
-
ファイル転送の時間 (ミリ秒単位)。
-
downloadMode
-
使用されるダウンロード モードについては、「 DownloadMode」を参照してください。
-
status
-
ファイル転送の状態については、「 SwarmStatus」を参照してください。
-
isBackground
-
True を指定すると、バックグラウンド転送になります。
要件
要件 | 値 |
---|---|
サポートされている最小のクライアント |
Windows 10、バージョン 1709 [デスクトップ アプリのみ] |
サポートされている最小のサーバー |
Windows Server バージョン 1709 [デスクトップ アプリのみ] |
ヘッダー |
|