Exemplo n.º 1
0
 @Override
 public void internalWrite(final Object obj1, final BOutputJson bout, final BBufferJson bbuf)
     throws BException {
   final BRequest_RemoteWithAuthentication_expire obj =
       (BRequest_RemoteWithAuthentication_expire) obj1;
   bout.writeObj("sess", obj.sess, false, null);
 }
Exemplo n.º 2
0
  @Override
  public void internalWrite(Object obj1, final BOutputJson bout, BBufferJson bbuf)
      throws BException {
    final byps.test.api.prim.PrimitiveTypes[][] arr = (byps.test.api.prim.PrimitiveTypes[][]) obj1;

    // lengths
    final int n1 = arr.length;
    final int n0 = n1 != 0 ? arr[0].length : 0;

    // write
    final byps.test.api.prim.PrimitiveTypes[][] a1 = arr;
    bbuf.beginArray();
    for (int i1 = 0; i1 < n1; i1++) {
      final byps.test.api.prim.PrimitiveTypes[] a0 = a1[i1];
      bbuf.beginArray();
      for (int i0 = 0; i0 < n0; i0++) {
        // checkpoint byps.gen.j.PrintContext:313
        bout.writeObj(null, a0[i0], false, null);
      }
      bbuf.endArray();
    }
    bbuf.endArray();
  }
Exemplo n.º 3
0
 @Override
 public void internalWrite(final Object obj1, final BOutputJson bout, final BBufferJson bbuf)
     throws BException {
   final BResult_2053507648 obj = (BResult_2053507648) obj1;
   bout.writeObj("result", obj.result, false, byps.test.api.JSerializer_2053507648.instance);
 }
Exemplo n.º 4
0
 @Override
 public void internalWrite(final Object obj1, final BOutputJson bout, final BBufferJson bbuf)
     throws BException {
   final BRequest_RemoteSetTypes_setInt1 obj = (BRequest_RemoteSetTypes_setInt1) obj1;
   bout.writeObj("int1", obj.int1, false, byps.test.api.JSerializer_1493282670.instance);
 }
Exemplo n.º 5
0
 @Override
 public void internalWrite(final Object obj1, final BOutputJson bout, final BBufferJson bbuf)
     throws BException {
   final BRequest_RemoteSetTypes_setByte2 obj = (BRequest_RemoteSetTypes_setByte2) obj1;
   bout.writeObj("byte2", obj.byte2, false, byps.test.api.JSerializer_2052431866.instance);
 }
Exemplo n.º 6
0
 @Override
 public void internalWrite(final Object obj1, final BOutputJson bout, final BBufferJson bbuf)
     throws BException {
   final BRequest_RemoteMapTypes_setObj1 obj = (BRequest_RemoteMapTypes_setObj1) obj1;
   bout.writeObj("obj1", obj.obj1, false, byps.test.api.JSerializer_1488550492.instance);
 }