Belle II Software  release-08-01-10
NSMMessage Class Reference
Inheritance diagram for NSMMessage:
Collaboration diagram for NSMMessage:

Public Member Functions

 NSMMessage (const NSMNode &node)
 
 NSMMessage (const NSMNode &node, const NSMCommand &cmd)
 
 NSMMessage (const NSMNode &node, const NSMCommand &cmd, int npar, int *pars)
 
 NSMMessage (const NSMNode &node, const NSMCommand &cmd, int par, const std::string &data)
 
 NSMMessage (const NSMNode &node, const NSMCommand &cmd, int par)
 
 NSMMessage (const NSMNode &node, const NSMCommand &cmd, const std::string &data)
 
 NSMMessage (const NSMNode &node, const NSMVar &var)
 
 NSMMessage (const NSMNode &node, const DAQLogMessage &log)
 
 NSMMessage (const NSMNode &node, const DAQLogMessage &log, const NSMCommand &cmd)
 
 NSMMessage (const NSMNode &node, const NSMData &data)
 
 NSMMessage (const NSMCommand &cmd)
 
 NSMMessage (const NSMCommand &cmd, int par)
 
 NSMMessage (const NSMCommand &cmd, int npar, int *pars)
 
 NSMMessage (const NSMNode &node, const NSMCommand &cmd, int npar, int *pars, const std::string &data)
 
 NSMMessage (const NSMCommand &cmd, const std::string &data)
 
 NSMMessage (const NSMVar &var)
 
 NSMMessage (const DAQLogMessage &log)
 
 NSMMessage (const NSMData &data)
 
 NSMMessage (const NSMMessage &msg)
 
const NSMMessageoperator= (const NSMMessage &msg)
 
void init ()
 
void init (const NSMNode &node, const NSMVar &var)
 
void init (const NSMNode &node, const DAQLogMessage &log)
 
void init (const NSMNode &node, const DAQLogMessage &log, const NSMCommand &cmd)
 
void init (const NSMNode &node, const NSMData &data)
 
const char * getRequestName () const
 
const char * getNodeName () const
 
unsigned short getRequestId () const
 
unsigned short getSequenceId () const
 
unsigned short getNodeId () const
 
unsigned short getNParams () const
 
int getParam (int i) const
 
unsigned int * getParams ()
 
const unsigned int * getParams () const
 
unsigned int getLength () const
 
const char * getData () const
 
void setRequestName (const std::string &name)
 
void setRequestName (const NSMCommand &cmd)
 
void setRequestName ()
 
void setNodeName (const std::string &name)
 
void setNodeName (const NSMNode &node)
 
void setRequestId (unsigned short id)
 
void setSequenceId (unsigned short id)
 
void setNodeId (unsigned short id)
 
void setNParams (unsigned short id)
 
void setParam (int i, unsigned int v)
 
void setData (int len, const char *data)
 
void setData (const std::string &text)
 
const NSMVar getVar ()
 
NSMMessage wait (int timeout)
 
void push (const NSMMessage &msg)
 
void readObject (Reader &) override
 
void writeObject (Writer &) const override
 
size_t read (NSMcontext *nsmc)
 
NSMmsggetMsg ()
 

Static Public Attributes

static const unsigned int DATA_SIZE = NSM_TCPDATSIZ
 

Private Member Functions

int try_read (int sock, char *buf, int datalen)
 

Private Attributes

NSMcontextm_nsmc
 
NSMmsg m_nsm_msg
 
Buffer m_data
 
std::string m_nodename
 
std::string m_reqname
 
bool m_hasobj
 
NSMVar m_var
 

Friends

class NSMCommunicator
 

Detailed Description

Definition at line 36 of file NSMMessage.h.


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