axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From din...@apache.org
Subject svn commit: r557892 - in /webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp: axis2_simple_tcp_svr_conn.h axis2_tcp_simple_response.h axis2_tcp_worker.h receiver/simple_tcp_svr_conn.c receiver/tcp_worker.c
Date Fri, 20 Jul 2007 06:54:55 GMT
Author: dinesh
Date: Thu Jul 19 23:54:53 2007
New Revision: 557892

URL: http://svn.apache.org/viewvc?view=rev&rev=557892
Log:
removed unwanted files

Removed:
    webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/axis2_tcp_simple_response.h
Modified:
    webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/axis2_simple_tcp_svr_conn.h
    webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/axis2_tcp_worker.h
    webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c
    webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_worker.c

Modified: webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/axis2_simple_tcp_svr_conn.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/axis2_simple_tcp_svr_conn.h?view=diff&rev=557892&r1=557891&r2=557892
==============================================================================
--- webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/axis2_simple_tcp_svr_conn.h
(original)
+++ webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/axis2_simple_tcp_svr_conn.h
Thu Jul 19 23:54:53 2007
@@ -15,24 +15,13 @@
  * limitations under the License.
  */
 
-#ifndef AXIS2_SIMPLE_HTTP_SVR_CONN_H
-#define AXIS2_SIMPLE_HTTP_SVR_CONN_H
-
-/**
- * @ingroup axis2_core_transport_tcp
- * @{
- */
-
-
-/**
- * @file axis2_simple_tcp_svr_conn.h
- * @brief Axis2 simple tcp server connection
- */
+#ifndef AXIS2_SIMPLE_TCP_SVR_CONN_H
+#define AXIS2_SIMPLE_TCP_SVR_CONN_H
 
 #include <axis2_const.h>
 #include <axis2_defines.h>
 #include <axutil_env.h>
-#include <axis2_tcp_simple_response.h>
+#include <axutil_stream.h>
 
 #ifdef __cplusplus
 extern "C"
@@ -47,7 +36,8 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_simple_tcp_svr_conn_close(axis2_simple_tcp_svr_conn_t *svr_conn,
+    axis2_simple_tcp_svr_conn_close(
+        axis2_simple_tcp_svr_conn_t *svr_conn,
         const axutil_env_t *env);
 
     /**
@@ -55,7 +45,8 @@
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
-    axis2_simple_tcp_svr_conn_is_open(axis2_simple_tcp_svr_conn_t *svr_conn,
+    axis2_simple_tcp_svr_conn_is_open(
+        axis2_simple_tcp_svr_conn_t *svr_conn,
         const axutil_env_t *env);
 
     /**
@@ -63,33 +54,28 @@
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axutil_stream_t* AXIS2_CALL
-    axis2_simple_tcp_svr_conn_get_stream(const axis2_simple_tcp_svr_conn_t *svr_conn,
+    axis2_simple_tcp_svr_conn_get_stream(
+        const axis2_simple_tcp_svr_conn_t *svr_conn,
         const axutil_env_t *env);
 
-
     /**
      * @param svr_conn pointer to server connection struct
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axis2_simple_tcp_svr_conn_read_request(axis2_simple_tcp_svr_conn_t *svr_conn,
+    axis2_simple_tcp_svr_conn_read_request(
+        axis2_simple_tcp_svr_conn_t *svr_conn,
         const axutil_env_t *env);
 
     /**
      * @param svr_conn pointer to server connection struct
      * @param env pointer to environment struct
-     * @param response response
-     * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
-     */
-
-    /**
-     * @param svr_conn pointer to server connection struct
-     * @param env pointer to environment struct
      * @param timeout timeout
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_simple_tcp_svr_conn_set_rcv_timeout(axis2_simple_tcp_svr_conn_t *svr_conn,
+    axis2_simple_tcp_svr_conn_set_rcv_timeout(
+        axis2_simple_tcp_svr_conn_t *svr_conn,
         const axutil_env_t *env,
         int timeout);
 
@@ -100,7 +86,8 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN axis2_status_t AXIS2_CALL
-    axis2_simple_tcp_svr_conn_set_snd_timeout(axis2_simple_tcp_svr_conn_t *svr_conn,
+    axis2_simple_tcp_svr_conn_set_snd_timeout(
+        axis2_simple_tcp_svr_conn_t *svr_conn,
         const axutil_env_t *env,
         int timeout);
 
@@ -109,15 +96,18 @@
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axis2_simple_tcp_svr_conn_get_svr_ip(const axis2_simple_tcp_svr_conn_t *svr_conn,
+    axis2_simple_tcp_svr_conn_get_svr_ip(
+        const axis2_simple_tcp_svr_conn_t *svr_conn,
         const axutil_env_t *env);
 
+
     /**
      * @param svr_conn pointer to server connection struct
      * @param env pointer to environment struct
      */
     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-    axis2_simple_tcp_svr_conn_get_peer_ip(const axis2_simple_tcp_svr_conn_t *svr_conn,
+    axis2_simple_tcp_svr_conn_get_peer_ip(
+        const axis2_simple_tcp_svr_conn_t *svr_conn,
         const axutil_env_t *env);
 
     /**
@@ -126,7 +116,8 @@
      * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
      */
     AXIS2_EXTERN void AXIS2_CALL
-    axis2_simple_tcp_svr_conn_free(axis2_simple_tcp_svr_conn_t *svr_conn,
+    axis2_simple_tcp_svr_conn_free(
+        axis2_simple_tcp_svr_conn_t *svr_conn,
         const axutil_env_t *env);
 
 
@@ -140,10 +131,8 @@
         const axutil_env_t *env, 
         int sockfd);
 
-/** @} */
-
 #ifdef __cplusplus
 }
 #endif
 
-#endif    /* AXIS2_SIMPLE_HTTP_SVR_CONN_H */
+#endif    /* AXIS2_SIMPLE_T_SVR_CONN_H */

Modified: webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/axis2_tcp_worker.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/axis2_tcp_worker.h?view=diff&rev=557892&r1=557891&r2=557892
==============================================================================
--- webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/axis2_tcp_worker.h (original)
+++ webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/axis2_tcp_worker.h Thu
Jul 19 23:54:53 2007
@@ -33,7 +33,6 @@
 #include <axis2_defines.h>
 #include <axutil_env.h>
 #include <axis2_simple_tcp_svr_conn.h>
-#include <axis2_tcp_simple_response.h>
 #include <axis2_conf_ctx.h>
 
 

Modified: webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c?view=diff&rev=557892&r1=557891&r2=557892
==============================================================================
--- webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c
(original)
+++ webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/simple_tcp_svr_conn.c
Thu Jul 19 23:54:53 2007
@@ -28,6 +28,7 @@
     axis2_char_t *buffer;
 };
 
+
 AXIS2_EXTERN axis2_simple_tcp_svr_conn_t *AXIS2_CALL
 axis2_simple_tcp_svr_conn_create(
     const axutil_env_t *env,
@@ -119,15 +120,6 @@
 }
 
 
-/* AXIS2_EXTERN axis2_tcp_response_writer_t *AXIS2_CALL */
-/* axis2_simple_tcp_svr_conn_get_writer( */
-/*     const axis2_simple_tcp_svr_conn_t *svr_conn, */
-/*     const axutil_env_t *env) */
-/* { */
-/*     return axis2_tcp_response_writer_create(env, */
-/*             svr_conn->stream); */
-/* } */
-
 
 AXIS2_EXTERN axis2_char_t *AXIS2_CALL
 axis2_simple_tcp_svr_conn_read_request(
@@ -166,34 +158,6 @@
     if (str_line)
         svr_conn->buffer = str_line;
     return svr_conn->buffer;
-}
-
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-axis2_simple_tcp_svr_conn_write_response(
-    axis2_simple_tcp_svr_conn_t *svr_conn,
-    const axutil_env_t *env,
-    axis2_tcp_simple_response_t *response)
-{
-/*     axis2_tcp_response_writer_t *response_writer = NULL; */
-/*     axutil_array_list_t *headers = NULL; */
-/*     axutil_stream_t *response_stream = NULL; */
-/*     axis2_char_t *response_body = NULL; */
-/*     int body_size = 0; */
-/*     int i = 0; */
-/*     axis2_tcp_header_t *enc_header = NULL; */
-/*     axis2_bool_t chuked_encoding = AXIS2_FALSE; */
-/*     axis2_char_t *status_line = NULL; */
-/*     axis2_bool_t binary_content = AXIS2_FALSE; */
-/*     axis2_char_t *content_type = NULL; */
-
-
-/*     AXIS2_ENV_CHECK(env, AXIS2_FAILURE); */
-/*     AXIS2_PARAM_CHECK(env->error, response, AXIS2_FAILURE); */
-
-/*     response_writer = axis2_tcp_response_writer_create(env, */
-/*             svr_conn->stream); */
-    return AXIS2_SUCCESS;
 }
 
 AXIS2_EXTERN axis2_status_t AXIS2_CALL

Modified: webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_worker.c?view=diff&rev=557892&r1=557891&r2=557892
==============================================================================
--- webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_worker.c
(original)
+++ webservices/axis2/scratch/c/dinesh/602/c/src/core/transport/tcp/receiver/tcp_worker.c
Thu Jul 19 23:54:53 2007
@@ -38,21 +38,6 @@
     int svr_port;
 };
 
-static axis2_status_t 
-axis2_tcp_worker_set_response_headers(
-    axis2_tcp_worker_t *tcp_worker,
-    const axutil_env_t *env,
-    axis2_simple_tcp_svr_conn_t *svr_conn,
-    axis2_tcp_simple_response_t *simple_response,
-    axis2_ssize_t content_length);
-
-static axis2_status_t 
-axis2_tcp_worker_set_transport_out_config(
-    axis2_tcp_worker_t *tcp_worker,
-    const axutil_env_t *env,
-    axis2_conf_ctx_t *conf_ctx,
-    axis2_tcp_simple_response_t *simple_response);
-
 
 AXIS2_EXTERN axis2_tcp_worker_t *AXIS2_CALL
 axis2_tcp_worker_create(
@@ -184,29 +169,6 @@
         axutil_network_handler_close_socket (env, svr_stream->socket);
         AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "stream wrote:%s", buffer);
     }
-
-    return AXIS2_SUCCESS;
-}
-
-
-/*
- * This is only called for HTTP/1.1 to enable 1.1 specific parameters.
- *
- */
-static axis2_status_t 
-axis2_tcp_worker_set_transport_out_config(
-    axis2_tcp_worker_t *tcp_worker,
-    const axutil_env_t *env,
-    axis2_conf_ctx_t *conf_ctx,
-    axis2_tcp_simple_response_t *simple_response)
-{
-    axis2_conf_t *config = NULL;
-
-    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK(env->error, conf_ctx, AXIS2_FAILURE);
-    AXIS2_PARAM_CHECK(env->error, simple_response, AXIS2_FAILURE);
-
-    config =  axis2_conf_ctx_get_conf(conf_ctx, env);
 
     return AXIS2_SUCCESS;
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message