@Override
protected void onMessage(String channel, String sender, String login, String hostname, String payload) {
logger.info("Recieved message [" + payload + "]");
for (MessageListener listener : this.messageListeners) {
Message message = new Message(sender, payload);
listener.onMessageReceived(message);
}
}