Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Some modifications and some files added.
[simgrid.git] / src / cxx / Task.hpp
index 4b55a64..173f4a7 100644 (file)
@@ -66,6 +66,57 @@ class Task
        void send(void) \r
        throw(NativeException);\r
        \r
+       void send(const char* alias) \r
+       throw(NativeException);\r
+       \r
+       void send(double timeout) \r
+       throw(NativeException);\r
+       \r
+       void send(const char* alias, double timeout) \r
+       throw(NativeException);\r
+       \r
+       void sendBounded(double maxRate) \r
+       throw(NativeException);\r
+       \r
+       void sendBounded(const char* alias, double maxRate) \r
+       throw(NativeException);\r
+       \r
+       static Task& receive(void) \r
+       throw(NativeException);\r
+       \r
+       static Task& receive(const char* alias) \r
+       throw(NativeException);\r
+       \r
+       static Task& receive(const char* alias, double timeout) \r
+       throw(NativeException);\r
+       \r
+       static Task& receive(const char* alias, const Host& rHost) \r
+       throw(NativeException);\r
+       \r
+       static Task& receive(const char* alias, double timeout, const Host& rHost) \r
+       throw(NativeException);\r
+       \r
+       static bool listen(void) \r
+       throw(NativeException);\r
+       \r
+       static bool listen(const char* alias) \r
+       throw(NativeException);\r
+       \r
+       static bool listenFrom(void) \r
+       throw(NativeException);\r
+       \r
+       static bool listenFrom(const char* alias) \r
+       throw(NativeException);\r
+       \r
+       \r
+       static bool listenFromHost(const Host& rHost) \r
+       throw(NativeException);\r
+       \r
+       static bool listenFromHost(const char* alias, const Host& rHost) \r
+       throw(NativeException);\r
+       \r
+       \r
+       \r
        private:\r
                \r
                m_task_t nativeTask;\r