Пример #1
0
  public void decode(ByteBuffer bytes, int pos) {

    if (bytes.array() == null) {
      return;
    }
    if (bytes.order() != ByteOrder.LITTLE_ENDIAN) {
      bytes.order(ByteOrder.LITTLE_ENDIAN);
    }

    m_GuiControlEnteredBody.decode(bytes, pos);
    pos += m_GuiControlEnteredBody.getSize();
  }
Пример #2
0
  public boolean isEqual(GuiControlEntered value) {
    if (!m_GuiControlEnteredBody.isEqual(value.getGuiControlEnteredBody())) {
      return false;
    }

    return true;
  }
Пример #3
0
  /**
   * Returns the number of bytes the used data members of the class occupies in the buffer. This is
   * not the number of bytes the data type occupies in Java, but the bytes expected on the wire.
   *
   * @return
   */
  public long getSize() {
    int size = 0;

    size += m_GuiControlEnteredBody.getSize();

    return size;
  }
Пример #4
0
 public boolean isEqual(GuiControlEnteredBody value) {
   if (!m_GuiControlEnteredRecord.isEqual(value.getGuiControlEnteredRecord())) {
     return false;
   }
   /// This code is currently not supported
   return true;
 }
Пример #5
0
 public void setParentPresenceVector() {
   if (m_parent != null) {
     m_parent.setParentPresenceVector();
   }
 }