* Added support for unflatting from flattened KMessages. At least when
a buffer is given. * Added method for sending flattened messages. The KMessage support is complete, but for BMessages this is a bit tricky. We currently unflatten the BMessages and send those. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11060 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -328,6 +328,9 @@ virtual void _ReservedMessage3();
|
||||
ssize_t stack_size,
|
||||
bool incl_reply,
|
||||
ssize_t *size = NULL) const;
|
||||
|
||||
status_t _UnflattenKMessage(const char *buffer);
|
||||
|
||||
ssize_t calc_size(uchar flags) const;
|
||||
ssize_t calc_hdr_size(uchar flags) const;
|
||||
ssize_t min_hdr_size() const;
|
||||
@@ -355,6 +358,10 @@ virtual void _ReservedMessage3();
|
||||
BMessage *reply,
|
||||
bigtime_t send_timeout,
|
||||
bigtime_t reply_timeout) const;
|
||||
static status_t _SendFlattenedMessage(void *data, int32 size,
|
||||
port_id port, int32 token, bool preferred,
|
||||
bigtime_t timeout);
|
||||
|
||||
enum { sNumReplyPorts = 3 };
|
||||
static port_id sReplyPorts[sNumReplyPorts];
|
||||
static long sReplyPortInUse[sNumReplyPorts];
|
||||
|
||||
Reference in New Issue
Block a user