Package com.github.ghetolay.jwamp

Examples of com.github.ghetolay.jwamp.SomeObject


  }
 
 
  @Test(dependsOnMethods = {"connect"})
  public void callMultipleArgumentsAndReturnsType() throws IOException, UnsupportedWampActionException, TimeoutException, CallException{
    SomeObject obj = new SomeObject();
    obj.setFieldOne("b");
    obj.setFieldTwo(2);
   
    WampArguments msg = wamp.simpleCall("echo", "a", 45, obj, "a");

    assertEquals"a" ,  msg.nextObject(String.class)             );
    assertEquals45  ,  msg.nextObject(Integer.class).intValue() );
View Full Code Here

TOP

Related Classes of com.github.ghetolay.jwamp.SomeObject

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.