Open n-peugnet opened 4 years ago
After some thinking, we should
Infrastructure
NodeProcess
Infrastructure
and NodeProcess
into AbstractInfrastructure
and AbstractNodeProcess
AbstractNodeProcess
by removing the infra
property and accessing the current Infrasctructure
through a static method in Ppi
(e.g. Ppi.infra()
)The problem with (3.) is that, currently, I think (but not sure) PeersimInfrastructure is cloned so that each NodeProcess
has its own instance. Anyway this could be changed as it could work with only one instance of PeersimInfrastructure
I am not sure yet if this will be better with an interface than with an abstract class but we can try.