![JAR search and dependency download from the Maven repository](/logo.png)
cn.nukkit.network.rcon.RCONCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powernukkit Show documentation
Show all versions of powernukkit Show documentation
A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.
package cn.nukkit.network.rcon;
import java.nio.channels.SocketChannel;
/**
* A data structure to hold sender, request ID and command itself.
*
* @author Tee7even
*/
public class RCONCommand {
private final SocketChannel sender;
private final int id;
private final String command;
public RCONCommand(SocketChannel sender, int id, String command) {
this.sender = sender;
this.id = id;
this.command = command;
}
public SocketChannel getSender() {
return this.sender;
}
public int getId() {
return this.id;
}
public String getCommand() {
return this.command;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy