/*******************************************************************************
 * Copyright (c): Jonas Tennié 2017
 *
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation, either version 3 of the License, or (at your option) any
 * later version.
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Lesser Public License for more
 * details.
 * You should have received a copy of the GNU General Lesser Public License
 * along with this program. If not, see
 * <http://www.gnu.org/licenses/lgpl-3.0.html>.
 *******************************************************************************/
package org.tenje.jtrain.dccpp.impl;

import java.util.List;

import org.tenje.jtrain.dccpp.PacketBuilder;
import org.tenje.jtrain.dccpp.PacketTrackPowerOff;

/**
 * This class is a concrete implementation of the {@link PacketTrackPowerOff}
 * interface.
 * 
 * @author Jonas Tennié
 */
public class PacketTrackPowerOffImpl extends AbstractPacket implements PacketTrackPowerOff {

	/**
	 * {@link PacketBuilder} to build a {@link PacketTrackPowerOff}. The
	 * parameter list is ignored.
	 */
	public static final PacketBuilder<PacketTrackPowerOff> BUILDER = new PacketBuilder<PacketTrackPowerOff>() {
		@Override
		public PacketTrackPowerOff build(List<String> parameters) {
			return new PacketTrackPowerOffImpl();
		}
	};

	/**
	 * Constructs a new {@link PacketTrackPowerOffImpl} with no packet
	 * parameters.
	 */
	public PacketTrackPowerOffImpl() {
		super(PacketTrackPowerOff.TYPE_CHAR);
	}

}
