mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-07-31 01:40:42 +00:00
Managers
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Esiur.Data.Types;
|
||||
using Esiur.Protocol;
|
||||
using Esiur.Resource;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
@@ -23,6 +24,8 @@ namespace Esiur.Core
|
||||
|
||||
internal StreamMode StreamMode { get; private set; }
|
||||
internal bool Pausable { get; private set; }
|
||||
internal IResource Resource { get; private set; }
|
||||
internal FunctionDef Function { get; private set; }
|
||||
|
||||
internal volatile bool Ended;
|
||||
|
||||
@@ -75,6 +78,12 @@ namespace Esiur.Core
|
||||
CallbackId = callbackId;
|
||||
}
|
||||
|
||||
internal void BindOperation(IResource resource, FunctionDef function)
|
||||
{
|
||||
Resource = resource;
|
||||
Function = function;
|
||||
}
|
||||
|
||||
internal void InitializeStream(StreamMode streamMode, bool pausable)
|
||||
{
|
||||
StreamMode = streamMode;
|
||||
|
||||
Reference in New Issue
Block a user