4647484950515253545556
this.notifier = notifier; } public void send() { while (queue.size() > 0) { Message context = (Message) queue.remove(); try { notifier.sendMessage(context); if (taskInterval > 0) { Thread.sleep(taskInterval); }