soap-nudp.h File Reference

Go to the source code of this file.


#define NUDP_ARG_PORT   "-NUDPport"
#define NUDP_DEFAULT_PORT   10001


herror_t soap_nudp_server_init_args (int argc, char **argv)
void * soap_nudp_server_run (void *unused)
herror_t soap_nudp_server_run_threaded (void)
void soap_nudp_server_destroy (void)
herror_t soap_nudp_register (const void *data)
herror_t soap_nudp_client_init_args (int argc, char **argv)
void soap_nudp_client_destroy (void)

Detailed Description

server/client module

Many Application protocol patterns match the semantics of the User Datagram Protocol (UDP, RFC 768). Some do not require the delivery guarantees of TCP while others make use of multicats transmisson. In order to allow Web Services to support these pattersn, we need a way to map SOAP envelopes to user datagrams. This support is essential for services using WS-Discovery, where the use of multicast and need for low connection overhead makes UDP a natural choice. It is anticipated that other protocols will have similar requirements.

H. Ronsdorf
See also:

Definition in file soap-nudp.h.

Define Documentation

#define NUDP_ARG_PORT   "-NUDPport"

Commandline argument to set the UDP port.

Definition at line 52 of file soap-nudp.h.

#define NUDP_DEFAULT_PORT   10001

Definition at line 54 of file soap-nudp.h.

Function Documentation

void soap_nudp_client_destroy void   ) 

Definition at line 353 of file soap-nudp.c.

Referenced by soap_transport_client_destroy().

herror_t soap_nudp_client_init_args int  argc,
char **  argv

Definition at line 345 of file soap-nudp.c.

References H_OK, and soap_transport_add().

Referenced by soap_transport_client_init_args().

herror_t soap_nudp_register const void *  data  ) 

Definition at line 261 of file soap-nudp.c.

References H_OK.

Referenced by soap_transport_register().

void soap_nudp_server_destroy void   ) 

Definition at line 335 of file soap-nudp.c.

Referenced by soap_transport_server_destroy().

herror_t soap_nudp_server_init_args int  argc,
char **  argv

Definition at line 232 of file soap-nudp.c.

References H_OK, herror_new(), and log_error2.

Referenced by soap_transport_server_init_args().

void* soap_nudp_server_run void *  unused  ) 

Definition at line 267 of file soap-nudp.c.

References SoapCtx::env, H_OK, herror_message(), herror_release(), log_error2, SoapEnv::root, soap_addressing_get_to_address(), soap_addressing_set_to_address_string(), soap_ctx_free(), soap_ctx_new(), soap_env_new_from_doc(), and soap_transport_process().

Referenced by soap_nudp_server_run_threaded().

herror_t soap_nudp_server_run_threaded void   ) 

Definition at line 319 of file soap-nudp.c.

References H_OK, herror_new(), log_error2, and soap_nudp_server_run().

Referenced by soap_transport_server_run().

Generated on Thu Jan 25 23:36:04 2007 for csoap by  doxygen 1.4.6