Package org.zkoss.monitor.message

Examples of org.zkoss.monitor.message.StringMessage


  @Test
  public void handleSimpleMessage() throws Exception{
    EventBusMessageHandler handler = new EventBusMessageHandler();
    handler.addMessageEventListener(new EvtListener1());
    handler.addMessageEventListener(new EvtListener2());
    handler.handle(new StringMessage("This is a String!"), true);
    handler.handle(new NewTimelineMessage(), false);
  }
View Full Code Here

TOP

Related Classes of org.zkoss.monitor.message.StringMessage

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.