-
Notifications
You must be signed in to change notification settings - Fork 126
/
Copy pathSubscriptionInvocations.cs
43 lines (34 loc) · 1.69 KB
/
SubscriptionInvocations.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using System.Collections.Generic;
using PubnubApi.PubnubEventEngine.Core;
namespace PubnubApi.PubnubEventEngine.Subscribe.Invocations {
internal class EmitMessagesInvocation : Core.IEffectInvocation {
public List<object> messages;
}
internal class EmitStatusInvocation : Core.IEffectInvocation {
public IEnumerable<string> Channels;
public IEnumerable<string> ChannelGroups;
}
internal class HandshakeInvocation : Core.IEffectInvocation {
public IEnumerable<string> Channels;
public IEnumerable<string> ChannelGroups;
public Dictionary<string, string> InitialSubscribeQueryParams = new Dictionary<string, string>();
public Dictionary<string, object> ExternalQueryParams = new Dictionary<string, object>();
}
internal class ReceiveMessagesInvocation : Core.IEffectInvocation
{
public IEnumerable<string> Channels;
public IEnumerable<string> ChannelGroups;
}
internal class CancelReceiveMessagesInvocation : ReceiveMessagesInvocation, Core.IEffectCancelInvocation { }
internal class HandshakeCancelInvocation : HandshakeInvocation, Core.IEffectCancelInvocation { }
//internal class ReconnectInvocation : Core.IEffectInvocation { }
internal class HandshakeReconnectInvocation: Core.IEffectInvocation
{
public IEnumerable<string> Channels;
public IEnumerable<string> ChannelGroups;
}
internal class CancelHandshakeReconnectInvocation: HandshakeReconnectInvocation, Core.IEffectCancelInvocation { }
internal class ReceiveReconnectInvocation: Core.IEffectInvocation { }
internal class CancelReceiveReconnectInvocation: ReceiveReconnectInvocation, Core.IEffectCancelInvocation { }
//internal class CancelReconnectInvocation : ReconnectInvocation, Core.IEffectCancelInvocation { }
}