Package org.goldenorb.types.message

Examples of org.goldenorb.types.message.BooleanMessage


      RPCProtocol.class, RPCProtocol.versionID, addr, conf);
  }
 
  @Test
  public void testRPC() {
    BooleanMessage bm1 = client.sendAndReceiveMessage(bm0, DESTINATION_VALUE, new BooleanWritable(
        MESSAGE_VALUE));
    assertEquals(bm0.get(), client.getMessage().get());
    assertEquals(bm0.getDestinationVertex(), client.getMessage().getDestinationVertex());
    assertEquals(bm1.getDestinationVertex(), DESTINATION_VALUE);
    assertEquals(((BooleanWritable) bm1.getMessageValue()).get(), MESSAGE_VALUE);
  }
View Full Code Here

TOP

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

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.