Refactoring + bug fix
IPGossipClient takes name of filed by which its ensemble is partitioned by.
Added connector ensemble and component.
Generated omnetpp.ini added to ignore list.
ConnectorComponent and ConnectorEnsemble cleared. Will be implemented using a different approach.
Added IPTable class encapsulating collection of IP addresses known by a particular host.
Added interface IPController which by now only gives access to the IP table. Created a new package network.ip which contains all sources associated with IP communication.
Added simple implementation of IPGossipStrategy using an IPController. As IPController provides a table of IP addresses, IPGossip strategy is very simple - it is only a wrapper of IPTable provided by IPController.
ConnectorMessage renamed to IPData, ConnectorDataSender renamed to IPDataSender etc.
Added interface IPDataReceiver (similar to KnowledgeDataReceiver) - an object that is capable of processing IPData coming from the network. Added default implementation of IPController which is able to receive IPData from network and process it (manages IP table)
Added GenericDataReceiver interface which is able to receive generic type of data from network. On top of it there is a GenericDataReceiverHandler which takes an implementation of GenericDataReceiver and a type and checks at runtime whether received object is of particular type. If yes it is received by GenericDataReceiver.
IPTable takes initial list of IP addresses.
Fix in IPGossipClientStrategy - ipTable field was never assigned.
IPDataReceiver extends GenericDataReceiver. IPController interface changed so that is only returns DataReceiver - in implementation is used IPDataReceiverHandler. This way IPController receives only IPData.
Unused commented code removed.
Removed previously used IPGossipClient class.
ConnectorComponent has input and output collection of address entries. Input is processes and cleared in the component process while output is processes and partially cleared during knowledge exchange.
KnowledgeDataReceiver extends GenericDataReceiver with parameter List<? extends KnowledgeData>
Fixed GenericDataReceiverHandler - dataType field changed from Class<TData> to Class<?>. This way even List<..> type can be used in GenericDataReceiverHandler.
Added KnowledgeDataReceiverHandler which is able to filter and receive only List of knowledge data.