mirror of
https://github.com/codex-storage/cs-codex-dist-tests.git
synced 2025-02-23 17:28:35 +00:00
16 lines
470 B
C#
16 lines
470 B
C#
using Utils;
|
|
|
|
namespace CodexPlugin.Hooks
|
|
{
|
|
public interface ICodexNodeHooks
|
|
{
|
|
void OnNodeStarting(DateTime startUtc, string image);
|
|
void OnNodeStarted(string peerId);
|
|
void OnNodeStopping();
|
|
void OnFileUploading(string uid, ByteSize size);
|
|
void OnFileUploaded(string uid, ByteSize size, ContentId cid);
|
|
void OnFileDownloading(ContentId cid);
|
|
void OnFileDownloaded(ByteSize size, ContentId cid);
|
|
}
|
|
}
|