Ejemplo n.º 1
0
OTAgreement::OTAgreement(const OTIdentifier & SERVER_ID,			const OTIdentifier & ASSET_ID,
						 const OTIdentifier & SENDER_ACCT_ID,		const OTIdentifier & SENDER_USER_ID,
						 const OTIdentifier & RECIPIENT_ACCT_ID,	const OTIdentifier & RECIPIENT_USER_ID) :
			OTCronItem(SERVER_ID, ASSET_ID, SENDER_ACCT_ID, SENDER_USER_ID)
{
	InitAgreement();
	
	SetRecipientAcctID(RECIPIENT_ACCT_ID);
	SetRecipientUserID(RECIPIENT_USER_ID);
}
Ejemplo n.º 2
0
// the framework will call this at the right time.
//
void OTAgreement::Release()
{
    Release_Agreement();
    
    // -----------------------
    
	ot_super::Release(); // since I've overridden the base class (OTCronItem), so I call it now...
	
    // -----------------------

	// Then I call this to re-initialize everything
	InitAgreement();
}
Ejemplo n.º 3
0
// the framework will call this at the right time.
void OTAgreement::Release()
{
	// If there were any dynamically allocated objects, clean them up here.
	m_RECIPIENT_ACCT_ID.Release();	
	m_RECIPIENT_USER_ID.Release();
	
	m_strConsideration.Release();
	
	OTCronItem::Release(); // since I've overridden the base class, I call it now...
	
	// Then I call this to re-initialize everything
	InitAgreement();
}
Ejemplo n.º 4
0
OTAgreement::OTAgreement(const OTIdentifier & SERVER_ID, const OTIdentifier & ASSET_ID) :
			OTCronItem(SERVER_ID, ASSET_ID)
{
	InitAgreement();
}
Ejemplo n.º 5
0
OTAgreement::OTAgreement() : OTCronItem()
{
	InitAgreement();
}
Ejemplo n.º 6
0
OTAgreement::OTAgreement(const OTIdentifier & SERVER_ID, const OTIdentifier & ASSET_ID) :
			ot_super(SERVER_ID, ASSET_ID)
{
	InitAgreement();
}
Ejemplo n.º 7
0
OTAgreement::OTAgreement() : ot_super()
{
	InitAgreement();
}