Class Buffer
Captures the data as tokens so that can be used to build up the JSON
Later. We do this so as not to serialize inside other peoples functions
but also because we might not have all the info we need to serialize at
that point in time.
This is NOT a thread safe buffer, its the job of the calling code to
handle that.
Assembly: solution.dll
Syntax
public class Buffer : IBuffer
Constructors
Properties
Methods
Name |
Description |
ClearBuffer()
|
|
ClearDiskCache()
|
|
CloneTokens()
|
|
FlushToDisk()
|
|
InsertTokens(List<Token>)
|
|
LoadFromDisk()
|
|
PushArrayEnd()
|
|
PushArrayStart(string)
|
|
PushBool(bool, string)
|
|
PushDouble(double, string)
|
|
PushEndEvent()
|
|
PushEvent(Event)
|
|
PushFloat(float, string)
|
|
PushInt(int, string)
|
|
PushInt64(long, string)
|
|
PushObjectEnd()
|
|
PushObjectStart(string)
|
|
PushStartEvent(string, DateTime, long?)
|
|
PushString(string, string)
|
|
PushTimestamp(DateTime, string)
|
|
SaveDateTime(DateTime)
|
|
Serialize(List<Token>)
|
If the DataBuffer knows about the UserID and the Session ID calling this function
will return a JSON blob of all the data in the buffer, it will then clear the
internal data.
|