Начало трансляции сервероного кода к новому протоколу
This commit is contained in:
80
src/main/java/im/rosetta/network/packet/PacketHandshake.java
Normal file
80
src/main/java/im/rosetta/network/packet/PacketHandshake.java
Normal file
@@ -0,0 +1,80 @@
|
||||
package im.rosetta.network.packet;
|
||||
|
||||
// Auto-generated by RCC (Rosetta Code Compiler). Do not edit manually.
|
||||
import io.orprotocol.packet.Packet;
|
||||
import im.rosetta.network.enums.HandshakeStage;
|
||||
|
||||
public class PacketHandshake extends Packet {
|
||||
public String publicKey;
|
||||
public String privateKey;
|
||||
public Integer protocolVersion;
|
||||
public Integer heartbeatInterval;
|
||||
public String deviceId;
|
||||
public String deviceName;
|
||||
public String deviceOs;
|
||||
public HandshakeStage handshakeStage;
|
||||
|
||||
public String getPublicKey() {
|
||||
return publicKey;
|
||||
}
|
||||
|
||||
public void setPublicKey(String publicKey) {
|
||||
this.publicKey = publicKey;
|
||||
}
|
||||
|
||||
public String getPrivateKey() {
|
||||
return privateKey;
|
||||
}
|
||||
|
||||
public void setPrivateKey(String privateKey) {
|
||||
this.privateKey = privateKey;
|
||||
}
|
||||
|
||||
public Integer getProtocolVersion() {
|
||||
return protocolVersion;
|
||||
}
|
||||
|
||||
public void setProtocolVersion(Integer protocolVersion) {
|
||||
this.protocolVersion = protocolVersion;
|
||||
}
|
||||
|
||||
public Integer getHeartbeatInterval() {
|
||||
return heartbeatInterval;
|
||||
}
|
||||
|
||||
public void setHeartbeatInterval(Integer heartbeatInterval) {
|
||||
this.heartbeatInterval = heartbeatInterval;
|
||||
}
|
||||
|
||||
public String getDeviceId() {
|
||||
return deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public String getDeviceName() {
|
||||
return deviceName;
|
||||
}
|
||||
|
||||
public void setDeviceName(String deviceName) {
|
||||
this.deviceName = deviceName;
|
||||
}
|
||||
|
||||
public String getDeviceOs() {
|
||||
return deviceOs;
|
||||
}
|
||||
|
||||
public void setDeviceOs(String deviceOs) {
|
||||
this.deviceOs = deviceOs;
|
||||
}
|
||||
|
||||
public HandshakeStage getHandshakeStage() {
|
||||
return handshakeStage;
|
||||
}
|
||||
|
||||
public void setHandshakeStage(HandshakeStage handshakeStage) {
|
||||
this.handshakeStage = handshakeStage;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user