Interface SelfWrapper

All Known Implementing Classes:
ModelEvent, ModelParameters

public interface SelfWrapper
Interface for objects that implement prepare and qWrite.

Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Version:
$Revision$, $LastChangedDate$, by $Author$, initial version Oct 27, 2016
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Method Summary

    Modifier and Type Method Description
    void prepare​(TByteBuffer tByteBuffer)
    Perform the prepare operation.
    void qWrite​(TByteBuffer tByteBuffer)
    Perform the qWrite operation.
  • Method Details

    • prepare

      void prepare​(TByteBuffer tByteBuffer)
      Perform the prepare operation.
      Parameters:
      tByteBuffer - TByteBuffer; the buffer to prepare for reception of the object that implements this interface
    • qWrite

      void qWrite​(TByteBuffer tByteBuffer)
      Perform the qWrite operation.
      Parameters:
      tByteBuffer - TByteBuffer; the buffer on which to apply the qWrite operation