Skip to content

Commit

Permalink
make Fossil class non public (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia authored Oct 8, 2024
1 parent 2ce27e7 commit 2017dfb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
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

0 comments on commit 2017dfb

Please sign in to comment.