X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..4e9865026f332a104e11b89850e4e1ed7d542a00:/docs/latex/wx/ddeclint.tex?ds=inline diff --git a/docs/latex/wx/ddeclint.tex b/docs/latex/wx/ddeclint.tex index 646420c789..5bc85beb16 100644 --- a/docs/latex/wx/ddeclint.tex +++ b/docs/latex/wx/ddeclint.tex @@ -1,10 +1,7 @@ \section{\class{wxDDEClient}}\label{wxddeclient} -\overview{Interprocess communications overview}{ipcoverview} - A wxDDEClient object represents the client part of a client-server DDE -(Dynamic Data Exchange) conversation (available in {\it both}\/ -Windows and UNIX). +(Dynamic Data Exchange) conversation. To create a client which can communicate with a suitable server, you need to derive a class from wxDDEConnection and another from wxDDEClient. @@ -13,15 +10,23 @@ a `conversation' with a server, and the custom wxDDEServer is required so that a user-overriden \helpref{wxDDEClient::OnMakeConnection}{wxddeclientonmakeconnection} member can return a wxDDEConnection of the required class, when a connection is made. +This DDE-based implementation is +available on Windows only, but a platform-independent, socket-based version +of this API is available using \helpref{wxTCPClient}{wxtcpclient}. + \wxheading{Derived from} -wxDDEObject +wxClientBase\\ +\helpref{wxObject}{wxobject} + +\wxheading{Include files} + + \wxheading{See also} -\helpref{wxDDEServer}{wxddeserver}, \helpref{wxDDEConnection}{wxddeconnection}, -the chapter on interprocess communication in the user manual, and -the programs in {\tt samples/ipc}. +\helpref{wxDDEServer}{wxddeserver}, \helpref{wxDDEConnection}{wxddeconnection}, +\helpref{Interprocess communications overview}{ipcoverview} \latexignore{\rtfignore{\wxheading{Members}}} @@ -33,7 +38,7 @@ Constructs a client object. \membersection{wxDDEClient::MakeConnection}\label{wxddeclientmakeconnection} -\func{wxDDEConnection *}{MakeConnection}{\param{const wxString\& }{host}, \param{const wxString\& }{service}, \param{const wxString\& }{topic}} +\func{wxConnectionBase *}{MakeConnection}{\param{const wxString\& }{host}, \param{const wxString\& }{service}, \param{const wxString\& }{topic}} Tries to make a connection with a server specified by the host (machine name under UNIX, ignored under Windows), service name (must @@ -45,11 +50,11 @@ derived connection object. \membersection{wxDDEClient::OnMakeConnection}\label{wxddeclientonmakeconnection} -\func{wxDDEConnection *}{OnMakeConnection}{\void} +\func{wxConnectionBase *}{OnMakeConnection}{\void} The type of \helpref{wxDDEConnection}{wxddeconnection} returned from a \helpref{wxDDEClient::MakeConnection}{wxddeclientmakeconnection} call can be altered by deriving the {\bf OnMakeConnection} member to return your -own derived connection object. By default, an ordinary wxDDEConnection +own derived connection object. By default, a wxDDEConnection object is returned. The advantage of deriving your own connection class is that it will