Code example for ObjectOutput

Methods: writeBoolean, writeLong

0
   * @see                    de.objectcode.canyon.bpe.util.IStateHolder#dehydrate(java.io.ObjectOutput) 
   */ 
  public void dehydrate( HydrationContext context, ObjectOutput out )
    throws IOException 
  { 
    super.dehydrate( context, out );
 
    out.writeBoolean( m_active );
    out.writeLong( m_currentUntil );
  } 
 
 
  /** 
   * @param in               Description of the Parameter 
   * @exception IOException  Description of the Exception 
   * @see                    de.objectcode.canyon.bpe.util.IStateHolder#hydrate(java.io.ObjectInput) 
   */ 
  public void hydrate( HydrationContext context, ObjectInput in )
    throws IOException 
  { 
    super.hydrate( context, in );