Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Fossil class non public #76

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions centrifuge/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,11 @@ package io.github.centrifugal.centrifuge {
method public void onUnsubscribed(io.github.centrifugal.centrifuge.Client!, io.github.centrifugal.centrifuge.ServerUnsubscribedEvent!);
}

public class Fossil {
ctor public Fossil();
method public static byte[]! applyDelta(byte[]!, byte[]!);
method public static long checksum(byte[]!);
}

public class FossilTest {
ctor public FossilTest();
method public void testApplyDelta();
method public void testApplyDeltaFromFiles();
method public void testApplyDeltaWithTruncatedDelta();
}

public class HistoryOptions {
Expand Down Expand Up @@ -303,13 +299,11 @@ package io.github.centrifugal.centrifuge {

public class Subscription {
method public String getChannel();
method public byte[]! getPrevData();
method public io.github.centrifugal.centrifuge.SubscriptionState! getState();
method public void history(io.github.centrifugal.centrifuge.HistoryOptions!, io.github.centrifugal.centrifuge.ResultCallback<io.github.centrifugal.centrifuge.HistoryResult!>!);
method public void presence(io.github.centrifugal.centrifuge.ResultCallback<io.github.centrifugal.centrifuge.PresenceResult!>!);
method public void presenceStats(io.github.centrifugal.centrifuge.ResultCallback<io.github.centrifugal.centrifuge.PresenceStatsResult!>!);
method public void publish(byte[]!, io.github.centrifugal.centrifuge.ResultCallback<io.github.centrifugal.centrifuge.PublishResult!>!);
method public void setPrevData(byte[]!);
method public void subscribe();
method public void unsubscribe();
}
Expand All @@ -335,6 +329,7 @@ package io.github.centrifugal.centrifuge {
method public String getDelta();
method public int getMaxResubscribeDelay();
method public int getMinResubscribeDelay();
method public io.github.centrifugal.centrifuge.StreamPosition! getSince();
method public String getToken();
method public io.github.centrifugal.centrifuge.SubscriptionTokenGetter! getTokenGetter();
method public boolean isJoinLeave();
Expand All @@ -347,6 +342,7 @@ package io.github.centrifugal.centrifuge {
method public void setMinResubscribeDelay(int);
method public void setPositioned(boolean);
method public void setRecoverable(boolean);
method public void setSince(io.github.centrifugal.centrifuge.StreamPosition!);
method public void setToken(String);
method public void setTokenGetter(io.github.centrifugal.centrifuge.SubscriptionTokenGetter!);
field public io.github.centrifugal.centrifuge.SubscriptionTokenGetter! tokenGetter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import java.io.ByteArrayOutputStream;


public class Fossil {
class Fossil {

private static final int[] zValue = new int[] {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
Expand Down
Loading