Skip to content

Commit

Permalink
Bump scx.version from 3.3.1 to 3.3.2 (#309)
Browse files Browse the repository at this point in the history
* Bump scx.version from 3.3.1 to 3.3.2

Bumps `scx.version` from 3.3.1 to 3.3.2.

Updates `cool.scx:scx-http-helidon` from 3.3.1 to 3.3.2
- [Release notes](https://github.com/scx567888/scx/releases)
- [Commits](scx567888/scx@v3.3.1...v3.3.2)

Updates `cool.scx:scx-ansi` from 3.3.1 to 3.3.2
- [Release notes](https://github.com/scx567888/scx/releases)
- [Commits](scx567888/scx@v3.3.1...v3.3.2)

Updates `cool.scx:scx-logging` from 3.3.1 to 3.3.2
- [Release notes](https://github.com/scx567888/scx/releases)
- [Commits](scx567888/scx@v3.3.1...v3.3.2)

Updates `cool.scx:scx-scheduling` from 3.3.1 to 3.3.2
- [Release notes](https://github.com/scx567888/scx/releases)
- [Commits](scx567888/scx@v3.3.1...v3.3.2)

---
updated-dependencies:
- dependency-name: cool.scx:scx-http-helidon
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: cool.scx:scx-ansi
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: cool.scx:scx-logging
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: cool.scx:scx-scheduling
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* dev

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: scx567888 <scx567888@outlook.com>
  • Loading branch information
dependabot[bot] and scx567888 authored Jan 12, 2025
1 parent fb5eb43 commit ac987a9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@

<properties>
<scx.mainClass>cool.scx.live_room_watcher.Main</scx.mainClass>
<scx.version>3.3.1</scx.version>
<scx.version>3.3.2</scx.version>
<protobuf.version>4.29.0</protobuf.version>
<jsoup.version>1.18.3</jsoup.version>
<graalvm-js.version>24.1.1</graalvm-js.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void start() {
webSocketFuture.onConnect(ws -> {
webSocket = ws;
logger.log(DEBUG, "连接成功 ");
ws.onTextMessage(c -> Thread.ofVirtual().start(() -> {
ws.onTextMessage((c,_) -> Thread.ofVirtual().start(() -> {
startPing();
startPingTimeout();
logger.log(DEBUG, "收到消息 {0}", c);
Expand All @@ -67,7 +67,7 @@ public void start() {
logger.log(ERROR, "调用 callMessage 发生错误 :", e);
}
}));
ws.onClose((v) -> {
ws.onClose((v,_) -> {
logger.log(DEBUG, "连接关闭 ");
//重连
start();
Expand Down Expand Up @@ -102,7 +102,7 @@ public void stop() {

public void stopWebSocket() {
if (webSocket != null && !webSocket.isClosed()) {
webSocket.onClose((c) -> {});
webSocket.onClose((c,_) -> {});
webSocket.onError((c) -> {});
webSocket.close();
logger.log(DEBUG, "关闭成功");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ public void startWatch() {
webSocketFuture.onConnect(c -> {
webSocket = c;
startPing(c);
c.onBinaryMessage(b -> {
c.onBinaryMessage((b,_) -> {
var v = parseFrame(b);
if (v.response().getNeedAck()) {
sendAck(c, v.pushFrame(), v.response());
}
});
c.onTextMessage(System.out::println);
c.onTextMessage((s,_)->System.out.println(s));
c.onError(e -> {
e.printStackTrace();
startWatch();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ public void startWatch() {
webSocketFuture.onConnect(c -> {
webSocket = c;
startPing(c);
c.onBinaryMessage(b -> {
c.onBinaryMessage((b,_) -> {
var v = parseFrame(b);
if (v.response().getNeedAck()) {
sendAck(c, v.pushFrame(), v.response());
}
});
c.onTextMessage(System.out::println);
c.onTextMessage((s,_)->System.out.println(s));
c.onError(e -> {
e.printStackTrace();
startWatch();
Expand Down

0 comments on commit ac987a9

Please sign in to comment.