Ejemplo n.º 1
0
 public static com.noodlewiz.xjavab.ext.record.Range unpackRange(final ByteBuffer __xjb_buf) {
   final com.noodlewiz.xjavab.ext.record.Range8 coreRequests =
       com.noodlewiz.xjavab.ext.record.internal.Unpacker.unpackRange8(__xjb_buf);
   final com.noodlewiz.xjavab.ext.record.Range8 coreReplies =
       com.noodlewiz.xjavab.ext.record.internal.Unpacker.unpackRange8(__xjb_buf);
   final com.noodlewiz.xjavab.ext.record.ExtRange extRequests =
       com.noodlewiz.xjavab.ext.record.internal.Unpacker.unpackExtRange(__xjb_buf);
   final com.noodlewiz.xjavab.ext.record.ExtRange extReplies =
       com.noodlewiz.xjavab.ext.record.internal.Unpacker.unpackExtRange(__xjb_buf);
   final com.noodlewiz.xjavab.ext.record.Range8 deliveredEvents =
       com.noodlewiz.xjavab.ext.record.internal.Unpacker.unpackRange8(__xjb_buf);
   final com.noodlewiz.xjavab.ext.record.Range8 deviceEvents =
       com.noodlewiz.xjavab.ext.record.internal.Unpacker.unpackRange8(__xjb_buf);
   final com.noodlewiz.xjavab.ext.record.Range8 errors =
       com.noodlewiz.xjavab.ext.record.internal.Unpacker.unpackRange8(__xjb_buf);
   final boolean clientStarted = com.noodlewiz.xjavab.core.internal.Unpacker.unpackBool(__xjb_buf);
   final boolean clientDied = com.noodlewiz.xjavab.core.internal.Unpacker.unpackBool(__xjb_buf);
   return new com.noodlewiz.xjavab.ext.record.Range(
       coreRequests,
       coreReplies,
       extRequests,
       extReplies,
       deliveredEvents,
       deviceEvents,
       errors,
       clientStarted,
       clientDied);
 }
Ejemplo n.º 2
0
 public static ClientInfo unpackClientInfo(final ByteBuffer __xjb_buf) {
   final long clientResource = com.noodlewiz.xjavab.core.internal.Unpacker.unpackUInt(__xjb_buf);
   final long numRanges = com.noodlewiz.xjavab.core.internal.Unpacker.unpackUInt(__xjb_buf);
   final com.google.common.collect.ImmutableList.Builder<com.noodlewiz.xjavab.ext.record.Range>
       __xjb_rangesBuilder =
           new com.google.common.collect.ImmutableList.Builder<
               com.noodlewiz.xjavab.ext.record.Range>();
   for (int __xjb_i = 0; (__xjb_i < numRanges); __xjb_i++) {
     __xjb_rangesBuilder.add(
         com.noodlewiz.xjavab.ext.record.internal.Unpacker.unpackRange(__xjb_buf));
   }
   final List<com.noodlewiz.xjavab.ext.record.Range> ranges = __xjb_rangesBuilder.build();
   return new ClientInfo(clientResource, numRanges, ranges);
 }
Ejemplo n.º 3
0
 public static com.noodlewiz.xjavab.ext.record.Range16 unpackRange16(final ByteBuffer __xjb_buf) {
   final int first = com.noodlewiz.xjavab.core.internal.Unpacker.unpackUShort(__xjb_buf);
   final int last = com.noodlewiz.xjavab.core.internal.Unpacker.unpackUShort(__xjb_buf);
   return new com.noodlewiz.xjavab.ext.record.Range16(first, last);
 }