Commit 43c9b960 authored by legoc's avatar legoc
Browse files

Some members removed

parent 624fe1d2
......@@ -28,7 +28,6 @@ namespace cameo {
namespace coms {
PublisherImpl::PublisherImpl(int publisherPort, int synchronizerPort, const std::string& name, int numberOfSubscribers) :
m_publisherPort(publisherPort),
m_synchronizerPort(synchronizerPort),
m_name(name),
m_numberOfSubscribers(numberOfSubscribers),
......@@ -38,7 +37,7 @@ PublisherImpl::PublisherImpl(int publisherPort, int synchronizerPort, const std:
ContextImpl* contextImpl = dynamic_cast<ContextImpl *>(application::This::getCom().getContext());
m_publisher.reset(new zmq::socket_t(contextImpl->m_context, ZMQ_PUB));
std::stringstream pubEndpoint;
pubEndpoint << "tcp://*:" << m_publisherPort;
pubEndpoint << "tcp://*:" << publisherPort;
m_publisher->bind(pubEndpoint.str().c_str());
}
......
......@@ -62,7 +62,6 @@ public:
std::string createTerminatePublisherRequest(int id, const std::string& name) const;
int m_publisherPort;
int m_synchronizerPort;
std::string m_name;
int m_numberOfSubscribers;
......
......@@ -28,7 +28,6 @@ import fr.ill.ics.cameo.strings.Endpoint;
public class PublisherImpl {
private int publisherPort;
private int synchronizerPort;
private String name;
private int numberOfSubscribers;
......@@ -38,7 +37,6 @@ public class PublisherImpl {
private PublisherWaitingImpl waiting = new PublisherWaitingImpl(this);
public PublisherImpl(int publisherPort, int synchronizerPort, String name, int numberOfSubscribers) {
this.publisherPort = publisherPort;
this.synchronizerPort = synchronizerPort;
this.name = name;
this.numberOfSubscribers = numberOfSubscribers;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment