def __init__(self):
   print "subscriber initiated"
   # multi = True for bind() call on socket
   try:	
     self.subscriber = ZeroMQSubscriber(Constants.getSocket(), multi = True)
   except zmq.error.ZMQError as error:
     print "error while binding to socket :" + Constants.getSocket()
     raise zmq.error.ZMQError("error while binding to socket :" + Constants.getSocket())