]> rtime.felk.cvut.cz Git - frescor/forb.git/blobdiff - src/request.h
Struct request adjusted for inter-executor invocation.
[frescor/forb.git] / src / request.h
index 0458760819f071e30017e58ed233109f8a5e64ae..03c59ac1ac1cb7e7d036be2224974569a4f4cf7e 100644 (file)
@@ -66,7 +66,6 @@
 #include <forb/forb-internal.h>
 
 
-
 /**
  * Helper structure for sending ORB requests.
  *
@@ -81,6 +80,8 @@ struct forb_request {
        FORB_CDR_Codec *cdr_reply;      /**< Buffer with received reply. */
        gavl_node_t node;       /**< forb_t::requests node */
        forb_object obj;        /**< Object being requested. */
+       unsigned method_ind;    /**< Inddex of a method being requested. */
+       char *interface;        /**< Interface being requested. */
        struct forb_env *env;   /**< Where to store exception returned in reply */
        forb_syncobj_t reply_ready; /**< Synchronization object for waiting for reply */
        forb_syncobj_t *reply_processed; /**< Synchronization object for receiver thread to wait for stub. */
@@ -127,15 +128,12 @@ forb_request_find(forb_t *forb, CORBA_unsigned_long *request_id)
 }
 
 int
-forb_request_init(forb_request_t *req, forb_object obj);
+forb_request_init(forb_request_t *req, forb_object obj, char *iface, unsigned method_ind);
 void
 forb_request_destroy(forb_request_t *req);
 void
 forb_request_wait_for_reply(forb_request_t *req);
 void
 forb_request_signal_processed(forb_request_t *req);
-void
-forb_request_send(forb_request_t *req, CORBA_Environment *env);
-
 
 #endif