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

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

package net.sf.jrtps.message.parameter;

import net.sf.jrtps.transport.RTPSByteBuffer;


public class QosGroupData extends Parameter implements SubscriberPolicy, PublisherPolicy {
	QosGroupData() {
		super(ParameterEnum.PID_GROUP_DATA);
	}

	@Override
	public void read(RTPSByteBuffer bb, int length) {
		readBytes(bb, length); // TODO: default reading. just reads to byte[] in super class.
	}

	@Override
	public void writeTo(RTPSByteBuffer bb) {
		writeBytes(bb); // TODO: default writing. just writes byte[] in super class
	}

	@Override
	public boolean isCompatible(QosPolicy other) {
		return true; // Always true
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy