// Exception constants
const EXCEPTION_HUB_ALREADY_ANNOUNCED = 0xe00;
+ // Other constants
+ const OBJECT_LIST_SEPARATOR = ',';
+
/**
* IP/port number of bootstrapping node
*/
// Handle it there
$handlerInstance->handleAnswerMessageData($messageData, $packageInstance);
}
+
+ /**
+ * "Getter" for an array of all accepted object types
+ *
+ * @return $objectList Array of all accepted object types
+ */
+ public function getListFromAcceptedObjectTypes () {
+ // Get registry instance
+ $objectRegistryInstance = ObjectTypeRegistryFactory::createObjectTypeRegistryInstance();
+
+ // Get all entries
+ $objectList = $objectRegistryInstance->getEntries(XmlObjectRegistryTemplateEngine::OBJECT_TYPE_DATA_NAME);
+
+ // ... and return it
+ return $objectList;
+ }
}
// [EOF]