mirror of https://github.com/abpframework/abp.git
9 changed files with 62 additions and 46 deletions
@ -1,18 +0,0 @@ |
|||||
using System; |
|
||||
using System.Threading.Tasks; |
|
||||
|
|
||||
namespace Volo.Abp.EventBus.Distributed |
|
||||
{ |
|
||||
public interface IRawEventPublisher //TODO: Rename: ISupportsEventBoxes
|
|
||||
{ |
|
||||
Task PublishRawAsync( |
|
||||
Guid eventId, |
|
||||
string eventName, |
|
||||
byte[] eventData); |
|
||||
|
|
||||
Task ProcessRawAsync( |
|
||||
InboxConfig inboxConfig, |
|
||||
string eventName, |
|
||||
byte[] eventDataBytes); |
|
||||
} |
|
||||
} |
|
||||
@ -0,0 +1,17 @@ |
|||||
|
using System.Threading.Tasks; |
||||
|
|
||||
|
namespace Volo.Abp.EventBus.Distributed |
||||
|
{ |
||||
|
public interface ISupportsEventBoxes |
||||
|
{ |
||||
|
Task PublishFromOutboxAsync( |
||||
|
OutgoingEventInfo outgoingEvent, |
||||
|
OutboxConfig outboxConfig |
||||
|
); |
||||
|
|
||||
|
Task ProcessFromInboxAsync( |
||||
|
IncomingEventInfo incomingEvent, |
||||
|
InboxConfig inboxConfig |
||||
|
); |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue