API  Version 2.0.1
Low-Latency HFT API
 All Classes Functions Variables
API2::AbstractUserParams Class Reference

The AbstractUserParams class. More...

#include <baseCommands.h>

Inheritance diagram for API2::AbstractUserParams:
API2::UserParams

Public Member Functions

UNSIGNED_LONG getStrategyVersion () const
 StrategyVersion.
 
UNSIGNED_LONG & getRefStrategyVersion ()
 
void setStrategyVersion (const UNSIGNED_LONG &value)
 
UNSIGNED_CHARACTER getTransactionType () const
 TransactionType.
 
UNSIGNED_CHARACTER & getRefTransactionType ()
 
void setTransactionType (const UNSIGNED_CHARACTER &value)
 
UNSIGNED_INTEGER getClientId () const
 ClientId.
 
UNSIGNED_INTEGER & getRefClientId ()
 
void setClientId (const UNSIGNED_INTEGER &value)
 
UNSIGNED_INTEGER getStrategyId () const
 StrategyId.
 
UNSIGNED_INTEGER & getRefStrategyId ()
 
void setStrategyId (const UNSIGNED_INTEGER &value)
 
UNSIGNED_LONG getAdminTokenId () const
 AdminTokenId.
 
UNSIGNED_LONG & getRefAdminTokenId ()
 
void setAdminTokenId (const UNSIGNED_LONG &value)
 
UNSIGNED_LONG getSequenceNumber () const
 SequenceNumber.
 
UNSIGNED_LONG & getRefSequenceNumber ()
 
void setSequenceNumber (const UNSIGNED_LONG &value)
 
 AbstractUserParams ()
 AbstractUserParams.
 
virtual void initialize ()
 initialize
 
int serialize (char *buf, bool isResponse, UNSIGNED_CHARACTER cat, UNSIGNED_CHARACTER comCat)
 serialize More...
 
int serializeApi (char *buf, bool isResponse, UNSIGNED_CHARACTER cat, UNSIGNED_CHARACTER comCat, int apiIndex)
 serializeApi More...
 
void deSerialize (const char *buf)
 deSerialize More...
 
void addType (BaseType *type)
 addType More...
 
void dump ()
 dump
 
std::string getString ()
 
void writeToFile (FILE *fp)
 
int getSerializeSize ()
 
void deSerializeMemorySize (const char *buff)
 

Detailed Description

The AbstractUserParams class.

Member Function Documentation

void API2::AbstractUserParams::addType ( BaseType type)
inline

addType

Parameters
type
void API2::AbstractUserParams::deSerialize ( const char *  buf)
inline

deSerialize

Parameters
buf
int API2::AbstractUserParams::serialize ( char *  buf,
bool  isResponse,
UNSIGNED_CHARACTER  cat,
UNSIGNED_CHARACTER  comCat 
)
inline

serialize

Parameters
buf
isResponse
cat
comCat
Returns

Put size as the first field after deducting 2 bytes reserved for size

int API2::AbstractUserParams::serializeApi ( char *  buf,
bool  isResponse,
UNSIGNED_CHARACTER  cat,
UNSIGNED_CHARACTER  comCat,
int  apiIndex 
)
inline

serializeApi

Parameters
buf
isResponse
cat
comCat
apiIndex
Returns

Put size as the first field after deducting 2 bytes reserved for size


The documentation for this class was generated from the following file: