PhoenixZMQ  2.0.0
Library which integrates zeromq use in Phoenix
PSocketFlag.h
Go to the documentation of this file.
1 /***************************************
2  Auteur : Pierre Aubert
3  Mail : pierre.aubert@lapp.in2p3.fr
4  Licence : CeCILL-C
5 ****************************************/
6 
7 #ifndef __PSOCKET_FLAG_H__
8 #define __PSOCKET_FLAG_H__
9 
10 namespace PSendFlag{
12  enum PSendFlag{
13  BLOCK, //Normal usage of the Socket. Blocking until a message is sent
14  NON_BLOCK //The Socket send does not stop the execution of the program
15  };
16 }
17 
18 namespace PRecvFlag{
20  enum PRecvFlag{
21  BLOCK, //Normal usage of the Socket. Blocking until a message comes
22  NON_BLOCK //The Socket recv does not stop the execution of the program
23  };
24 }
25 
26 #endif
27