Package com.dianping.cat.message.io

Examples of com.dianping.cat.message.io.MessageSender


    public MessageSender getSender() {
      return m_sender;
    }

    public void setQueue(final Queue<MessageTree> queue) {
      m_sender = new MessageSender() {
        @Override
        public void initialize() {
        }

        @Override
View Full Code Here


      }
    }
  }

  public void flush(MessageTree tree) {
    MessageSender sender = m_transportManager.getSender();

    if (sender != null && isMessageEnabled()) {
      sender.send(tree);

      if (m_statistics != null) {
        m_statistics.onSending(tree);
      }
    } else {
View Full Code Here

TOP

Related Classes of com.dianping.cat.message.io.MessageSender

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.