Package org.goldenorb.types.message

Examples of org.goldenorb.types.message.DoubleMessage


      RPCProtocol.class, RPCProtocol.versionID, addr, conf);
  }
 
  @Test
  public void testRPC() {
    DoubleMessage dm1 = client.sendAndReceiveMessage(dm0, DESTINATION_VALUE, new DoubleWritable(
        MESSAGE_VALUE));
    assertTrue(dm0.get() == client.getMessage().get());
    assertEquals(dm0.getDestinationVertex(), client.getMessage().getDestinationVertex());
    assertEquals(dm1.getDestinationVertex(), DESTINATION_VALUE);
    assertTrue(((DoubleWritable) dm1.getMessageValue()).get() == MESSAGE_VALUE);
  }
View Full Code Here

TOP

Related Classes of org.goldenorb.types.message.DoubleMessage

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.