@Override
  public void toDelta(DataOutput out) throws IOException {
    // Write whether to apply the changes to another DS if necessary
    out.writeBoolean(applyRemotely);

    // Write the events
    DataSerializer.writeArrayList(eventQueue, out);

    out.writeLong(lastAccessedTime);
    out.writeInt(maxInactiveInterval);
  }
Return the <code>HttpSession</code> for which this object is the facade.
extensions/geode-modules/src/main/java/org/apache/geode/modules/session/catalina/DeltaSession.java