use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
use Org\Mxchange\CoreFramework\Registry\Registerable;
+use Org\Mxchange\CoreFramework\Traits\Stream\Output\OutputStreamTrait;
use Org\Mxchange\CoreFramework\Visitor\Visitable;
use Org\Mxchange\CoreFramework\Visitor\Visitor;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
abstract class BaseConnectionHelper extends BaseHubSystemHelper implements Visitable, Registerable {
+ // Load traits
+ use OutputStreamTrait;
+
// Exception codes
const EXCEPTION_UNSUPPORTED_ERROR_HANDLER = 0x9100;
use Org\Mxchange\CoreFramework\Registry\Register;
use Org\Mxchange\CoreFramework\Socket\InvalidServerSocketException;
use Org\Mxchange\CoreFramework\Socket\SocketAlreadyRegisteredException;
+use Org\Mxchange\CoreFramework\Traits\Iterator\IteratorTrait;
use Org\Mxchange\CoreFramework\Visitor\Visitable;
use Org\Mxchange\CoreFramework\Visitor\Visitor;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
abstract class BaseListener extends BaseHubSystem implements Visitable {
+ // Load traits
+ use IteratorTrait;
+
// Exception code constants
const EXCEPTION_SOCKET_ALREADY_REGISTERED = 0xa01;
const EXCEPTION_SOCKET_CREATION_FAILED = 0xa02;
use Org\Mxchange\CoreFramework\Registry\Registerable;
use Org\Mxchange\CoreFramework\Utils\String\StringUtils;
use Org\Mxchange\CoreFramework\Stacker\Stackable;
+use Org\Mxchange\CoreFramework\Traits\Stream\Input\InputStreamTrait;
use Org\Mxchange\CoreFramework\Visitor\Visitable;
use Org\Mxchange\CoreFramework\Visitor\Visitor;
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
class PackageAssembler extends BaseHubSystem implements Assembler, Registerable, Visitable {
+ // Load traits
+ use InputStreamTrait;
+
/**
* Name for stacker holding raw data of multiple messages
*/
// Import application-specific stuff
use Org\Shipsimu\Hub\Producer\Cruncher\BaseCruncherProducer;
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Traits\Iterator\IteratorTrait;
+
/**
* A general KeyProducer class
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
abstract class BaseKeyProducer extends BaseCruncherProducer {
+ // Load traits
+ use IteratorTrait;
+
/**
* Protected constructor
*
-Subproject commit 977b9bbb804eda74ad2d819d1de082933dd0bb08
+Subproject commit 9a7a272f04e54537aaf30c282598c1742fe0ad88