CountAgents

From The Contingency Market

Jump to: navigation, search

Contents

CountAgents(ulSessionID,uSequenceID,sIntegrity,sSince)

Descriptive text

PARAMETERS

ulong ulSessionID 
ID of authenticated session.
uint uSequenceID 
Sequence number.
string sIntegrity 
md5("ipaddr(sid,seq)->CountAgents(yyyy-mm-dd hh:mm:ss)/secret").
string sSince 
Earliest registration date to count from. NB Not a TimeInstant or DateTime. The timezone is UTC.

RETURNS

uint

uint 
number of agents registered since the specified time.

FAULTS

Session. Time format.

TEST

CountAgents() currently returns: 86.

CountAgents(2008-09-01) currently returns: 80.

Views
Personal tools