Savarese Software Research Corporation
Mailbox.cc File Reference
#include <ssrc/spread/Mailbox.h>
#include <fcntl.h>
Include dependency graph for Mailbox.cc:

Go to the source code of this file.

Functions

groups  resize (groups.capacity())
 
message  init_pre_receive ()
 
  if (!_drop_receive)
 
else  if (result< 0 &&result!=Error::GroupsTooShort &&result!=Error::BufferTooShort) throw Error(result)
 
message  set_type (type)
 
message  set_service (stype)
 
message  set_sender (sender)
 
message  set_endian_mismatch (endian_mismatch!=0)
 
groups  resize (num_groups)
 
message  init_post_receive (result)
 

Variables

int  Error
 
BaseMessage::message_type  type
 
BaseMessage::service_type  stype = (_drop_receive ? BaseMessage::DropReceive : 0)
 
Spread::group_type  sender
 
try_again  __pad0__
 
try_again  num_groups = 0
 
try_again  endian_mismatch = 0
 
  result
 

Function Documentation

else if ( )
message init_post_receive ( result  )
message init_pre_receive ( )
groups resize ( groups.  capacity() )
groups resize ( num_groups  )
message set_endian_mismatch ( endian_mismatch!  = 0 )
message set_sender ( sender  )
message set_service ( stype  )
message set_type ( type  )

Variable Documentation

try_again __pad0__

Definition at line 181 of file Mailbox.cc.

try_again endian_mismatch = 0

Definition at line 181 of file Mailbox.cc.

int Error
Initial value:

Definition at line 171 of file Mailbox.cc.

Referenced by if(), Mailbox::join(), Mailbox::leave(), Mailbox::Mailbox(), Mailbox::poll(), and Mailbox::send().

try_again num_groups = 0

Definition at line 181 of file Mailbox.cc.

return result
Initial value:
=
Spread::SP_scat_receive(_mbox, &stype, sender, groups.size(), &num_groups,
groups.groups(), &type, &endian_mismatch,
message.scatter())

Definition at line 184 of file Mailbox.cc.

Referenced by if(), Mailbox::join(), Mailbox::leave(), Mailbox::Mailbox(), Mailbox::poll(), and Mailbox::send().

Definition at line 175 of file Mailbox.cc.

stype = (_drop_receive ? BaseMessage::DropReceive : 0)

Definition at line 174 of file Mailbox.cc.

Definition at line 173 of file Mailbox.cc.

Referenced by Mailbox::send().


Savarese Software Research Corporation
Copyright © 2006-2015 Savarese Software Research Corporation. All rights reserved.