All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.jrtps.message.parameter.Sentinel Maven / Gradle / Ivy

package net.sf.jrtps.message.parameter;

import net.sf.jrtps.transport.RTPSByteBuffer;

public class Sentinel extends Parameter implements InlineQoS {
    public Sentinel() {
        super(ParameterId.PID_SENTINEL);
    }

    @Override
    public void read(RTPSByteBuffer bb, int length) {
        readBytes(bb, length);
    }

    @Override
    public void writeTo(RTPSByteBuffer buffer) {
        // buffer.write_short(getParameterId().kind());
        // System.out.println("*** " + buffer.position() + ", " +
        // buffer.position() %4);
        // buffer.write_short(2);
        // NO LENGTH
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy