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

com.mobius.software.mqttsn.parser.packet.impl.WillTopicResp Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
package com.mobius.software.mqttsn.parser.packet.impl;

import com.mobius.software.mqttsn.parser.avps.ReturnCode;
import com.mobius.software.mqttsn.parser.avps.SNType;
import com.mobius.software.mqttsn.parser.packet.api.ResponseMessage;
import com.mobius.software.mqttsn.parser.packet.api.SNDevice;

public class WillTopicResp extends ResponseMessage
{
	public WillTopicResp()
	{
		super();
	}

	public WillTopicResp(ReturnCode code)
	{
		super(code);
	}

	public WillTopicResp reInit(ReturnCode code)
	{
		setCode(code);
		return this;
	}

	@Override
	public SNType getType()
	{
		return SNType.WILL_TOPIC_RESP;
	}

	@Override
	public void processBy(SNDevice device)
	{
		device.processWillTopicResponse();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy