org.yamcs.replication.Transaction Maven / Gradle / Ivy
package org.yamcs.replication;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
public interface Transaction {
static boolean isMetadata(byte type) {
return type == Message.STREAM_INFO;
}
byte getType();
void marshall(ByteBuffer buf) throws BufferOverflowException;
int getInstanceId();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy