Dreamine.Communication.Abstractions
1.0.2
Dreamine.Communication.Abstractions 공용 계약과 추상화를 제공합니다.
Toggle main menu visibility
로딩중...
검색중...
일치하는것 없음
IMessageTransport.cs
이 파일의 문서화 페이지로 가기
1
using
System;
2
using
System.Threading;
3
using
System.Threading.Tasks;
4
using
Dreamine.Communication.Abstractions.Enums
;
5
using
Dreamine.Communication.Abstractions.Models
;
6
7
namespace
Dreamine.Communication.Abstractions.Interfaces
;
8
17
public
interface
IMessageTransport
:
IConnectionLifecycle
, IAsyncDisposable
18
{
27
TransportKind
Kind
{
get
; }
28
37
event
EventHandler<MessageEnvelope>?
MessageReceived
;
38
87
Task
SendAsync
(
88
MessageEnvelope
message,
89
CancellationToken cancellationToken =
default
);
90
}
Dreamine.Communication.Abstractions.Enums
Definition
ConnectionState.cs:1
Dreamine.Communication.Abstractions.Enums.TransportKind
TransportKind
Definition
TransportKind.cs:12
Dreamine.Communication.Abstractions.Interfaces
Definition
IConnectionLifecycle.cs:5
Dreamine.Communication.Abstractions.Models
Definition
CommunicationError.cs:3
Dreamine.Communication.Abstractions.Interfaces.IConnectionLifecycle
Definition
IConnectionLifecycle.cs:16
Dreamine.Communication.Abstractions.Interfaces.IMessageTransport
Definition
IMessageTransport.cs:18
Dreamine.Communication.Abstractions.Interfaces.IMessageTransport.Kind
TransportKind Kind
Definition
IMessageTransport.cs:27
Dreamine.Communication.Abstractions.Interfaces.IMessageTransport.SendAsync
Task SendAsync(MessageEnvelope message, CancellationToken cancellationToken=default)
Dreamine.Communication.Abstractions.Interfaces.IMessageTransport.MessageReceived
EventHandler< MessageEnvelope >? MessageReceived
Definition
IMessageTransport.cs:37
Dreamine.Communication.Abstractions.Models.MessageEnvelope
Definition
MessageEnvelope.cs:15
Interfaces
IMessageTransport.cs
다음에 의해 생성됨 :
1.17.0