2026-03-17 13:31:18 -07:00

42 lines
928 B
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* javax.baja.collection.BITable
*/
package com.tridium.alarm;
import java.io.DataOutputStream;
import java.io.IOException;
import javax.baja.alarm.BAlarmRecord;
import javax.baja.collection.BITable;
public class AlarmOutput {
private DataOutputStream out;
public void write(BAlarmRecord bAlarmRecord) throws IOException {
this.out.writeBoolean(true);
bAlarmRecord.write(this.out);
}
public void flush() throws IOException {
this.out.flush();
}
public void close() {
try {
this.out.writeBoolean(false);
}
catch (Exception exception) {}
try {
this.out.close();
}
catch (Exception exception) {}
}
public AlarmOutput(BITable bITable, DataOutputStream dataOutputStream) {
this.out = dataOutputStream;
}
}