freeze abstract method
void
freeze()
Function used to freeze state.
When this function is called, the state of the desired object is paused, and so state changes are no longer implemented until state is unfrozen via the unfreeze function.
Implementation
void freeze();