application/hub/interfaces/filter/.htaccess -text svneol=unset#text/plain
application/hub/interfaces/filter/class_FilterablePackage.php svneol=native#text/plain
application/hub/interfaces/handler/.htaccess -text svneol=unset#text/plain
+application/hub/interfaces/handler/answer-status/.htaccess -text svneol=unset#text/plain
+application/hub/interfaces/handler/answer-status/class_HandleableAnswerStatus.php svneol=native#text/plain
application/hub/interfaces/handler/chunks/.htaccess -text svneol=unset#text/plain
application/hub/interfaces/handler/chunks/class_HandleableChunks.php svneol=native#text/plain
application/hub/interfaces/handler/class_Handleable.php svneol=native#text/plain
application/hub/main/handler/.htaccess -text svneol=unset#text/plain
application/hub/main/handler/answer-status/.htaccess -text svneol=unset#text/plain
application/hub/main/handler/answer-status/announcement/.htaccess -text svneol=unset#text/plain
+application/hub/main/handler/answer-status/announcement/class_AnnouncementAnswerOkayHandler.php svneol=native#text/plain
application/hub/main/handler/answer-status/class_ svneol=native#text/plain
application/hub/main/handler/answer-status/class_BaseAnserStatusHandler.php svneol=native#text/plain
application/hub/main/handler/chunks/.htaccess -text svneol=unset#text/plain
--- /dev/null
+Deny from all
--- /dev/null
+<?php
+/**
+ * A HandleableAnswerStatus interface
+ *
+ * @author Roland Haeder <webmaster@ship-simu.org>
+ * @version 0.0.0
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
+ * @license GNU GPL 3.0 or any newer version
+ * @link http://www.ship-simu.org
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+interface HandleableAnswerStatus extends Handleable {
+ /**
+ * Handles given message data array
+ *
+ * @param $messageData An array of message data
+ * @return void
+ */
+ function handleAnswerMessageData (array $messageData);
+}
+
+// [EOF]
+?>
--- /dev/null
+<?php
+/**
+ * A AnnouncementAnswerOkay handler
+ *
+ * @author Roland Haeder <webmaster@ship-simu.org>
+ * @version 0.0.0
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
+ * @license GNU GPL 3.0 or any newer version
+ * @link http://www.ship-simu.org
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU 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 Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+class AnnouncementAnswerOkayHandler extends BaseAnserStatusHandler implements HandleableAnswerStatus, Registerable {
+ /**
+ * Protected constructor
+ *
+ * @return void
+ */
+ protected function __construct () {
+ // Call parent constructor
+ parent::__construct(__CLASS__);
+
+ // Set handler name
+ $this->setHandlerName('answer_okay');
+ }
+
+ /**
+ * Creates an instance of this class
+ *
+ * @return $handlerInstance An instance of a HandleableMessage class
+ */
+ public final static function createAnnouncementAnswerOkayHandler () {
+ // Get new instance
+ $handlerInstance = new AnnouncementAnswerOkayHandler();
+
+ // Return the prepared instance
+ return $handlerInstance;
+ }
+
+ /**
+ * Handles given message data array
+ *
+ * @param $messageData An array of message data
+ * @return void
+ */
+ public function handleAnswerMessageData (array $messageData) {
+ $this->partialStub('Please implement this method.');
+ }
+}
+
+// [EOF]
+?>
// Return the prepared instance
return $handlerInstance;
}
+
+ /**
+ * Handles given message data array
+ *
+ * @param $messageData An array of message data
+ * @return void
+ */
+ public function handleAnswerMessageData (array $messageData) {
+ $this->partialStub('Please implement this method.');
+ }
}
// [EOF]