Package org.waveprotocol.wave.federation.xmpp.MockOutgoingPacketTransport

Examples of org.waveprotocol.wave.federation.xmpp.MockOutgoingPacketTransport.Router


  @Override
  public void setUp() throws Exception {
    super.setUp();

    server1 = new ServerInstances(SERVER1_DOMAIN, new Router() {
      @Override
      public void route(Packet packet) {
        server2.manager.receivePacket(packet);
      }
    });
    server2 = new ServerInstances(SERVER2_DOMAIN, new Router() {
      @Override
      public void route(Packet packet) {
        server1.manager.receivePacket(packet);
      }
    });
View Full Code Here

TOP

Related Classes of org.waveprotocol.wave.federation.xmpp.MockOutgoingPacketTransport.Router

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.