36 lines
774 B
Java
36 lines
774 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package com.tridium.fox.message;
|
|
|
|
import com.tridium.fox.message.FoxTuple;
|
|
import com.tridium.fox.message.MessageReader;
|
|
import com.tridium.fox.message.MessageWriter;
|
|
import java.io.IOException;
|
|
|
|
public final class FoxInteger
|
|
extends FoxTuple {
|
|
public int value;
|
|
|
|
public FoxInteger(String string, int n) {
|
|
this.name = string;
|
|
this.value = n;
|
|
}
|
|
|
|
public FoxInteger() {
|
|
}
|
|
|
|
public final int getType() {
|
|
return 105;
|
|
}
|
|
|
|
protected final void writeValue(MessageWriter messageWriter) throws IOException {
|
|
messageWriter.writeInt(this.value);
|
|
}
|
|
|
|
protected void readValue(MessageReader messageReader) throws IOException {
|
|
this.value = messageReader.readInt();
|
|
}
|
|
}
|
|
|