81 lines
1.9 KiB
Java
81 lines
1.9 KiB
Java
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;
|
|
}
|
|
}
|