Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jobfeikens/rcon
Browse files Browse the repository at this point in the history
  • Loading branch information
jobfeikens committed May 11, 2021
2 parents 6f31bbb + 97bcc56 commit ac737db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# RCON [![Java CI](https://github.com/jobfeikens/rcon/actions/workflows/workflow.yml/badge.svg)](https://github.com/jobfeikens/rcon/actions/workflows/workflow.yml)

Java implementation of the RCON protocol
Minimal implementation of the RCON protocol in Java.

## Example (Java 8+)
```java
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/nl/vv32/rcon/Rcon.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public class Rcon implements Closeable {
final private PacketReader reader;
final private PacketWriter writer;

private boolean closed = false;
private int requestCounter;
private volatile boolean closed = false;
private volatile int requestCounter;

Rcon(final ByteChannel channel, final int readBufferCapacity, final int writeBufferCapacity) {
this.channel = channel;
Expand Down

0 comments on commit ac737db

Please sign in to comment.