DeviceMessageQueue.java
2.03 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* aQute.bnd.annotation.ProviderType
* javax.annotation.CheckForNull
* javax.annotation.Nonnull
* javax.annotation.Nullable
* org.apache.sling.commons.json.JSONObject
*/
package com.adobe.cq.screens;
import aQute.bnd.annotation.ProviderType;
import java.util.List;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import org.apache.sling.commons.json.JSONObject;
@ProviderType
public interface DeviceMessageQueue {
public void queueEntry(@Nonnull String var1, @Nonnull Entry var2);
@CheckForNull
public Entry dequeueEntry(@Nonnull String var1);
@Nonnull
public EntryBuilder createEntryBuilder(@Nonnull String var1);
public void queue(@Nonnull String var1, @Nonnull String var2);
public void queue(@Nonnull String var1, @Nonnull String var2, boolean var3);
@CheckForNull
public String dequeue(@Nonnull String var1);
public List<Entry> getEntriesRequiringAck(@Nonnull String var1);
public void remove(@Nonnull String var1, @Nonnull String var2);
@CheckForNull
public Entry dequeueDeliverableEntry(@Nonnull String var1);
public void markDeliveredOrRemove(@Nonnull String var1, @Nonnull String var2);
public void markAcknowledged(@Nonnull String var1, @Nonnull String var2);
@ProviderType
public static interface EntryBuilder {
@Nonnull
public EntryBuilder setPayload(@Nullable JSONObject var1);
@Nonnull
public EntryBuilder setRequiresAck(boolean var1);
public EntryBuilder setDelivered(boolean var1);
public EntryBuilder setAcknowledged(boolean var1);
@Nonnull
public Entry build();
}
@ProviderType
public static interface Entry {
@Nonnull
public String getMessage();
@CheckForNull
public JSONObject getPayload();
public boolean requiresAck();
public boolean isAcknowledged();
public boolean isDelivered();
}
}