ObserveEventImpossible

From The Contingency Market

Jump to: navigation, search

Contents

ObserveEventImpossible(ulSessionID,uSequenceID,sIntegrity,sEventID,sEventParameterValue,sTime)

Observe that this event has become impossible. Events can change from possibilities to impossibilities through observation. Optionally specifying the observed value and the time it occurred - consequently making this event impossible. This unofficial observation enables reputable observers to provide an informative service until such time as official observers can establish the official historical record. A contingency cannot be determined until all the events it depends upon have been officially determined.

PARAMETERS

ulong ulSessionID 
ID of authenticated session.
uint uSequenceID 
Sequence number.
string sIntegrity 
md5("ipaddr(sid,seq)->ObserveEventImpossible(sEventID,sEventParameterValue,sTime)/secret")
string sEventID 
Unique ID of parent event. Cannot specify root (official history).
string sEventParameterValue 
The value the event parameter is observed to have (blank if unknown).
string sTime 
Time at which event became impossible and if known, the observed value occurred (leave blank for current time).

RETURNS

SEventRecordData {sEventID,sParameterValue,sParameterType,sAgentIDObserver,bOccurred,sTimeOccurred,sTimeObserved}

string sEventID 
ID of event observed to occur.
string sParameterValue 
The value the event parameter is observed to have (blank if unknown).
string sParameterType 
Type of the parameter.
string sAgentIDObserver 
Empty if official, otherwise ID of most recent observer.
bool bOccurred 
True if this is a record of the event occurring, False if a record of the event becoming impossible.
string sTimeOccurred 
Time at which the event occurred/or not.
string sTimeObserved 
Time this event record was originally submitted - Blank for official observations.

FAULTS

Session. Event. Time format.

Views
Personal tools