X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8499055fbaebc9fd0d309ae43a6072c8f5b4a68e..1fbd5fc102ed26900150f86355554226cdf1c3b2:/src/gras/Msg/rpc.c diff --git a/src/gras/Msg/rpc.c b/src/gras/Msg/rpc.c index a3c09c5ee1..1cef669309 100644 --- a/src/gras/Msg/rpc.c +++ b/src/gras/Msg/rpc.c @@ -19,8 +19,8 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(gras_rpc,gras_msg,"RPC mecanism"); /** @brief declare a new versionned RPC type of the given name and payloads * * @param name: name as it should be used for logging messages (must be uniq) - * @param version: something like versionning symbol - * @param payload: datadescription of the payload + * @param payload_request: datatype of request + * @param payload_answer: datatype of answer * * Registers a new RPC message to the GRAS mechanism. RPC are constituted of a pair * of messages. @@ -40,7 +40,8 @@ gras_msgtype_declare_rpc(const char *name, * * @param name: name as it should be used for logging messages (must be uniq) * @param version: something like versionning symbol - * @param payload: datadescription of the payload + * @param payload_request: datatype of request + * @param payload_answer: datatype of answer * * Registers a new RPC message to the GRAS mechanism. RPC are constituted of a pair * of messages. @@ -86,7 +87,10 @@ void gras_msg_rpccall(gras_socket_t server, unsigned long int msg_ID = last_msg_ID++; s_gras_msg_t received; - DEBUG2("Send a RPC of type '%s' (ID=%lu)",msgtype->name,msg_ID); + DEBUG4("Send to %s:%d a RPC of type '%s' (ID=%lu)", + gras_socket_peer_name(server), + gras_socket_peer_port(server), + msgtype->name,msg_ID); gras_msg_send_ext(server, e_gras_msg_kind_rpccall, msg_ID, msgtype, request); gras_msg_wait_ext(timeOut,