Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 49890 invoked from network); 20 Jul 2006 10:42:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jul 2006 10:42:18 -0000 Received: (qmail 25915 invoked by uid 500); 20 Jul 2006 10:42:17 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 25825 invoked by uid 500); 20 Jul 2006 10:42:17 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 25808 invoked by uid 500); 20 Jul 2006 10:42:17 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 25805 invoked by uid 99); 20 Jul 2006 10:42:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 03:42:17 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 03:42:16 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 4BCFB1A981A; Thu, 20 Jul 2006 03:41:56 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r423877 - /webservices/axis2/trunk/c/include/axis2_transport_receiver.h Date: Thu, 20 Jul 2006 10:41:55 -0000 To: axis2-cvs@ws.apache.org From: pini@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060720104156.4BCFB1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: pini Date: Thu Jul 20 03:41:55 2006 New Revision: 423877 URL: http://svn.apache.org/viewvc?rev=423877&view=rev Log: Updated doxygen comments to clean doc structure Modified: webservices/axis2/trunk/c/include/axis2_transport_receiver.h Modified: webservices/axis2/trunk/c/include/axis2_transport_receiver.h URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/include/axis2_transport_receiver.h?rev=423877&r1=423876&r2=423877&view=diff ============================================================================== --- webservices/axis2/trunk/c/include/axis2_transport_receiver.h (original) +++ webservices/axis2/trunk/c/include/axis2_transport_receiver.h Thu Jul 20 03:41:55 2006 @@ -1,22 +1,28 @@ /* - * Copyright 2004,2005 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +* Copyright 2004,2005 The Apache Software Foundation. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ #ifndef AXIS2_TRANSPORT_RECEIVER_H #define AXIS2_TRANSPORT_RECEIVER_H +/** @defgroup axis2_transport_receiver transport receiver + * @ingroup axis2_desc + * Description. + * @{ + */ + /** * @file axis2_transport_receiver.h * @brief Axis2 description transport receiver interface @@ -38,89 +44,136 @@ { #endif -struct axis2_conf_ctx; -struct axis2_transport_in_desc; -typedef struct axis2_transport_receiver axis2_transport_receiver_t; -typedef struct axis2_transport_receiver_ops axis2_transport_receiver_ops_t; - -/** @defgroup axis2_transport_receiver transport receiver - * @ingroup axis2_desc - * @{ - */ - -/** - * @brief Description Transport Receiver ops struct - * Encapsulator struct for ops of axis2_transport_receiver - */ -AXIS2_DECLARE_DATA struct axis2_transport_receiver_ops -{ - /** De-allocate memory - * @return status code - */ - axis2_status_t (AXIS2_CALL * - free)(axis2_transport_receiver_t *transport_receiver, - const axis2_env_t *env); - - axis2_status_t (AXIS2_CALL * - start)(axis2_transport_receiver_t *transport_receiver, - const axis2_env_t *env); - - axis2_status_t (AXIS2_CALL * - stop)(axis2_transport_receiver_t *transport_receiver, - const axis2_env_t *env); - - axis2_endpoint_ref_t* (AXIS2_CALL * - get_reply_to_epr)(axis2_transport_receiver_t *transport_receiver, - const axis2_env_t *env, - axis2_char_t *svc_name); - - axis2_status_t (AXIS2_CALL * - init) (axis2_transport_receiver_t *transport_receiver, - const axis2_env_t *env, - struct axis2_conf_ctx *conf_ctx, - struct axis2_transport_in_desc *transport_in); - - - struct axis2_conf_ctx* (AXIS2_CALL * - get_conf_ctx) (axis2_transport_receiver_t *server, - const axis2_env_t *env); - - - axis2_bool_t (AXIS2_CALL * - is_running) (axis2_transport_receiver_t *server, - const axis2_env_t *env); - -}; - -/** - * @brief Transport Reciever struct - */ -AXIS2_DECLARE_DATA struct axis2_transport_receiver -{ - axis2_transport_receiver_ops_t *ops; -}; + struct axis2_conf_ctx; + struct axis2_transport_in_desc; + /** Type name for axis2_transport_receiver */ + typedef struct axis2_transport_receiver axis2_transport_receiver_t; + /** Type name for axis2_transport_receiver_ops */ + typedef struct axis2_transport_receiver_ops axis2_transport_receiver_ops_t; + + /** + * @brief Description Transport Receiver ops struct + * Encapsulator struct for ops of axis2_transport_receiver + */ + AXIS2_DECLARE_DATA struct axis2_transport_receiver_ops + { + /** + * De-allocate memory + * @param transport_receiver pointer to transport receiver + * @param env pointer to environment struct + */ + axis2_status_t (AXIS2_CALL * + free)( + axis2_transport_receiver_t *transport_receiver, + const axis2_env_t *env); + + /** + * @param transport_receiver + * @param env pointer to environmnet struct + */ + axis2_status_t (AXIS2_CALL * + start)( + axis2_transport_receiver_t *transport_receiver, + const axis2_env_t *env); + + /** + * @param transport_receiver pointer to transport receiver + * @param env pointer to environment struct + */ + axis2_status_t (AXIS2_CALL * + stop)( + axis2_transport_receiver_t *transport_receiver, + const axis2_env_t *env); + + /** + * @param tranport_receiver pointer to transport receiver + * @param env pointer to environmnet struct + * @param svc_name pointer to service name + */ + axis2_endpoint_ref_t* (AXIS2_CALL * + get_reply_to_epr)( + axis2_transport_receiver_t *transport_receiver, + const axis2_env_t *env, + axis2_char_t *svc_name); + + /** + * @param transport_receiver pointer to transport receiver + * @param env pointer to environment struct + * @param conf_ctx pointer to configuratoin context + * @param intrasport_in pointer to transport_in + */ + axis2_status_t (AXIS2_CALL * + init) ( + axis2_transport_receiver_t *transport_receiver, + const axis2_env_t *env, + struct axis2_conf_ctx *conf_ctx, + struct axis2_transport_in_desc *transport_in); + + + /** + * @param server pointer to server + * @param env pointer to environment struct + */ + struct axis2_conf_ctx* (AXIS2_CALL * + get_conf_ctx)( + axis2_transport_receiver_t *server, + const axis2_env_t *env); + + + /** + * @param server pointer to server + * @param env pointer to environment struct + */ + axis2_bool_t (AXIS2_CALL * + is_running)( + axis2_transport_receiver_t *server, + const axis2_env_t *env); + + }; + + /** + * @brief Transport Reciever struct + */ + AXIS2_DECLARE_DATA struct axis2_transport_receiver + { + axis2_transport_receiver_ops_t *ops; + }; /*************************** Function macros **********************************/ +/** Frees the transport receiver. + @sa axis2_transport_receiver#free */ #define AXIS2_TRANSPORT_RECEIVER_FREE(transport_receiver, env) \ ((transport_receiver->ops)->free (transport_receiver, env)) +/** Initialize the transport receiver. + @sa axis2_transport_receiver#init */ #define AXIS2_TRANSPORT_RECEIVER_INIT(transport_receiver, env, axisconf, transport_in) \ ((transport_receiver->ops)->init (transport_receiver, env, axisconf, transport_in)) +/** Start + @sa axis2_transport_receiver#start */ #define AXIS2_TRANSPORT_RECEIVER_START(transport_receiver, env) \ ((transport_receiver->ops)->start (transport_receiver, env)) +/** Stop. + @sa axis2_transport_receiver#stop */ #define AXIS2_TRANSPORT_RECEIVER_STOP(transport_receiver, env) \ ((transport_receiver->ops)->stop (transport_receiver, env)) +/** Get reply to epr. + @sa axis2_transport_receiver#get_reply_to_epr */ #define AXIS2_TRANSPORT_RECEIVER_GET_REPLY_TO_EPR(transport_receiver, env, svc_name) \ ((transport_receiver->ops)->get_reply_to_epr (transport_receiver, env, svc_name)) +/** Get conf ctx. + @sa axis2_transport_receiver#get_conf_ctx */ #define AXIS2_TRANSPORT_RECEIVER_GET_CONF_CTX(transport_receiver, env) \ ((transport_receiver)->ops->get_conf_ctx(transport_receiver, env)) - + +/** Is running. + @sa axis2_transport_receiver#is_running */ #define AXIS2_TRANSPORT_RECEIVER_IS_RUNNING(transport_receiver, env) \ ((transport_receiver)->ops->is_running(transport_receiver, env)) --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org