]> rtime.felk.cvut.cz Git - orte.git/commitdiff
JORTE: add missing constants from "typedefs_api.h"
authorMartin Vajnar <martin.vajnar@gmail.com>
Sun, 20 Oct 2013 16:04:50 +0000 (18:04 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 28 Oct 2013 15:47:35 +0000 (16:47 +0100)
orte/java/src/org/ocera/orte/types/ORTEConstant.java

index 5dc753ff36440e5703b98a27056846edfe08f8b4..fd580a641433e401933d1927d71e147458df3b17 100644 (file)
@@ -146,6 +146,21 @@ public class ORTEConstant {
   public static final int ORTE_TIMEOUT                       = -2;
   public static final int ORTE_QUEUE_FULL                    = -3;
 
+ /* ************************************************* *
+  * constants from the file 'typedefs_api.h' *
+  * ************************************************* */
+
+  /* Receive status */
+  public static final int NEW_DATA                           = 0x01;
+  public static final int DEADLINE                           = 0x02;
+
+  /* Subscription type */
+  public static final int BEST_EFFORTS                       = 0x01;
+  public static final int STRICT_RELIABLE                    = 0x02;
+
+  /* Subscription mode */
+  public static final int PULLED                             = 0x01;
+  public static final int IMMEDIATE                          = 0x02;
 
 }