/*
 * Copyright (C) 2014  Ohm Data
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Affero 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 Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package c5db.interfaces;

import c5db.interfaces.server.CommandRpcRequest;
import c5db.messages.generated.CommandReply;
import org.jetlang.channels.Request;

/**
 *
 */
public interface ControlModule extends C5Module {

  void doMessage(Request<CommandRpcRequest<?>, CommandReply> request);
}

@@ -843,49 +843,142 @@
 ort 
-org.jetlang.channels.Request;%0A%0A/**%0A *%0A */
+c5db.messages.generated.ModuleType;%0Aimport org.jetlang.channels.Request;%0A%0A/**%0A *%0A */%0A@ModuleTypeBinding(value = ModuleType.ControlRpc)
 %0Apub

Annotate ControlModule with its ModuleType