MatchEventChild

From The Contingency Market

Jump to: navigation, search

Contents

MatchEventChild(ulSessionID,uSequenceID,sIntegrity,sEventID,sEventParameterName,sEventParameterMinimum,sEventParameterMaximum,bEventParameterInsideMinMax)

Returns the ID of a child event if it has already been specified.

PARAMETERS

ulong ulSessionID 
ID of authenticated session.
uint uSequenceID 
Sequence number.
string sIntegrity 
md5("ipaddr(sid,seq)->MatchEventChild(sEventID,sEventParameterName,sEventParameterMinimum,sEventParameterMaximum,bEventParameterInsideMinMax)/secret")
string sEventID 
Unique ID of parent event (blank for root).
string sEventParameterName 
Predefined name of event parameter.
string sEventParameterMinimum 
Minimum value (must of a type compatible with the type of the event parameter).
string sEventParameterMaximum 
Maximum value (must of a type compatible with the type of the event parameter).
bool bEventParameterInsideMinMax 
True if value must be within min & max.

RETURNS

string

string 
32 digit hex representing this event's globally unique id (or blank if not matched).

FAULTS

Session. Event.

TEST

MatchEventChild(,true,www.digitalproductions.co.uk,Domain,1) according to the respective template currently returns null: NO MATCH.

MatchEventChild(,true,www.digitalproductions.co.uk,Domain,0) according to the respective template currently returns 0acd61a53c8c4d0d8844ba6358f1a894:

Views
Personal tools