void setType(int aType)
sets message type; use MessageType enum
void checkType(int aType) const
int requestorId
sender-provided return address
StrandSearchRequest(const String &aTag)
sender's constructor
void putPod(const Pod &pod)
store POD
String tag
set when looking for a matching StrandCoord::tag
void unpack(const TypedMsgHdr &)
for receiving the ID of the asking process
@ mtFindStrand
a worker requests a strand from Coordinator
void getString(String &s) const
load variable-length string
QuestionerId qid
the sender of the request
QuestionerId MyQuestionerId()
the questioner ID of the current/calling process
struct msghdr with a known type, fixed-size I/O and control buffers
void getPod(Pod &pod) const
load POD
void putString(const String &s)
store variable-length string
void pack(TypedMsgHdr &hdrMsg) const
prepare for sendmsg()