'Called when process intializes.'

def run(self):

    logger.info('started    listener')
    if (self.type == 'pickle'):
        self.listen_pickle()
    elif (self.type == 'udp'):
        self.listen_udp()
    else:
        logging.error('unknown    listener    format')
