Skip to content

Commit 32ac9a1

Browse files
committed
Add StateMachines to Transport layer
1 parent 1354200 commit 32ac9a1

8 files changed

Lines changed: 1396 additions & 1195 deletions
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
using Akka.Event;
2+
using TurboHTTP.Internal;
3+
4+
namespace TurboHTTP.Transport.Quic;
5+
6+
/// <summary>
7+
/// Callback interface for the stage Logic to receive effects from the QUIC transport state machine.
8+
/// The Logic implements this and translates calls to Akka Push/Pull/Timer operations.
9+
/// </summary>
10+
internal interface IQuicTransportOperations
11+
{
12+
void OnPushOutput(IInputItem item);
13+
void OnSignalPullInput();
14+
void OnFailStage(Exception ex);
15+
void OnCompleteStage();
16+
void OnScheduleTimer(string key, TimeSpan delay);
17+
void OnCancelTimer(string key);
18+
ILoggingAdapter Log { get; }
19+
}

0 commit comments

Comments
 (0)