db/node_list/.htaccess -text svneol=unset#text/plain
db/node_states/.htaccess -text svneol=unset#text/plain
db/peer_states/.htaccess -text svneol=unset#text/plain
+docs/AUTHORS.txt svneol=native#text/plain
docs/COPYING -text
docs/COPYING.documents -text
docs/COPYING.software -text
* @return void
*/
public function outputConsoleTeaser () {
- $this->partialStub('Please implement this method.');
+ // Get the app instance (for shortening our code)
+ $app = $this->getApplicationInstance();
+
+ // Output all lines
+ $this->debugOutput(' ');
+ $this->debugOutput($app->getAppName() . ' v' . $app->getAppVersion() . ' - A telnet connection helper');
+ $this->debugOutput('Copyright (c) 2007 - 2008 Roland Haeder, 2009 - 2011 Hub Developer Team');
+ $this->debugOutput(' ');
+ $this->debugOutput('This program comes with ABSOLUTELY NO WARRANTY; for details see docs/COPYING.');
+ $this->debugOutput('This is free software, and you are welcome to redistribute it under certain');
+ $this->debugOutput('conditions; see docs/COPYING for details.');
+ $this->debugOutput(' ');
}
/**
// Debug output
$tableInstance->debugOutput('PEER-STATE-FACTORY: errorCode=' . $errorCode);
- // Is a new peer so create the state instance based on error code, first we need a config entry
- $configEntry = 'peer_' . $errorCode . '_state_class';
-
// Register the new peer with its session id
$tableInstance->registerPeerByPackageData($packageData, $socketResource);
- // Then get it
- $stateInstance = self::createObjectByConfiguredName($configEntry);
+ /*
+ * It is a new peer so create the state instance based on error
+ * code and get an instance from it.
+ */
+ $stateInstance = self::createObjectByConfiguredName('peer_' . $errorCode . '_state_class');
// And register it with the lookup table
$tableInstance->registerPeerState($stateInstance, $packageData);
* 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 BaseProducer extends BaseFrameworkSystem {
+abstract class BaseProducer extends BaseFrameworkSystem {
/**
* Outgoing work-queue
*/
* 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 BaseKeyProducer extends BaseProducer {
+abstract class BaseKeyProducer extends BaseProducer {
/**
* Protected constructor
*
* 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 BaseUnitProducer extends BaseProducer {
+abstract class BaseUnitProducer extends BaseProducer {
/**
* Work/test unit status
*/
--- /dev/null
+[--------------------------------------]
+[-- All main authors of this script: --]
+[--------------------------------------]
+
+- Roland Haeder <roland.mxchange.org>
+
+ (project leader, webmaster, main programmer)
+
+[----------------------------------------]
+[-- Contributors (code, designs, etc.) --]
+[----------------------------------------]
+
+- Mr. X <maybe.your.adress.com>
+
+ (requested to be listed... ;-) )
/**
* The instances we want to remove after all is done
- *
- * @return void
*/
private static $instances = array (
'cfg', // The configuration system