/*
 * Copyright (c)  2016-2019 https://www.thecoderscorner.com (Dave Cherry).
 * This product is licensed under an Apache license, see the LICENSE file in the top-level directory.
 *
 */

package com.thecoderscorner.menu.remote.commands;

import com.thecoderscorner.menu.remote.protocol.MessageField;

/**
 * Classes extending from MenuCommand can be sent and received on a connector. They are protocol
 * neutral so as to make replacing the protocol as easy as possible.
 */
public interface MenuCommand {
    /**
     * The type of message received.
     * @return the command type
     */
    MessageField getCommandType();
}
