X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f70c044346a655e3115879ab2554bfd665139670..81c882b613b5d99ddb1e5ab69fcd7ebccc287025:/docs/latex/wx/tipc.tex diff --git a/docs/latex/wx/tipc.tex b/docs/latex/wx/tipc.tex index 5a1eb8439e..9edd9836bd 100644 --- a/docs/latex/wx/tipc.tex +++ b/docs/latex/wx/tipc.tex @@ -1,8 +1,8 @@ \section{Interprocess communication overview}\label{ipcoverview} -Classes: \helpref{wxServer}{wxddeserver}, +Classes: \helpref{wxServer}{wxserver}, \helpref{wxConnection}{wxddeconnection}, -\helpref{wxClient}{wxddeclient} +\helpref{wxClient}{wxclient} %\helpref{wxTCPServer}{wxtcpserver}, \helpref{wxTCPConnection}{wxtcpconnection}, %\helpref{wxTCPClient}{wxtcpclient} @@ -108,7 +108,7 @@ need to be overridden. create and return an instance of the derived connection class. \item Create an instance of your client object. \item When appropriate, create a new connection using -\helpref{wxClient::MakeConnection}{wxddeclientmakeconnection}, +\helpref{wxClient::MakeConnection}{wxclientmakeconnection}, with arguments host name (processed in Unix only, use `localhost' for local computer), service name, and topic name for this connection. The client object will call @@ -118,7 +118,7 @@ successful. \item Use the wxConnection member functions to send messages to the server. \end{enumerate} -\subsection{Data transfer} +\subsection{Data transfer}\label{datatransfer} These are the ways that data can be transferred from one application to another. These are methods of wxConnection. @@ -145,7 +145,7 @@ The default data type is wxCF\_TEXT (ASCII text), and the default data size is the length of the null-terminated string. Windows-specific data types could also be used on the PC. -\subsection{Examples} +\subsection{Examples}\label{ipcexamples} See the sample programs {\it server}\/ and {\it client}\/ in the IPC samples directory. Run the server, then the client. This demonstrates @@ -153,7 +153,7 @@ using the Execute, Request, and Poke commands from the client, together with an Advise loop: selecting an item in the server list box causes that item to be highlighted in the client list box. -\subsection{More DDE details} +\subsection{More DDE details}\label{ddedetails} A wxClient object initiates the client part of a client-server DDE-like (Dynamic Data Exchange) conversation (available in both @@ -164,8 +164,8 @@ you need to derive a class from wxConnection and another from wxClient. The custom wxConnection class will receive communications in a `conversation' with a server. and the custom wxServer is required so that a user-overridden -\helpref{wxDDEClient::OnMakeConnection}{wxddeclientonmakeconnection} -member can return a wxDDEConnection of the required class, when a +\helpref{wxClient::OnMakeConnection}{wxddeclientonmakeconnection} +member can return a wxConnection of the required class, when a connection is made. For example: @@ -196,7 +196,7 @@ the derived wxClient. In the following, command line arguments are used to pass the host name (the name of the machine the server is running on) and the server name (identifying the server process). Calling -\helpref{wxDDEClient::MakeConnection}{wxddeclientmakeconnection}\rtfsp +\helpref{wxClient::MakeConnection}{wxddeclientmakeconnection}\rtfsp implicitly creates an instance of {\bf MyConnection} if the request for a connection is accepted, and the client then requests an {\it Advise} loop from the server (an Advise loop is @@ -219,6 +219,3 @@ where the server calls the client when data has changed). connection->StartAdvise("Item"); \end{verbatim} -Note that it is no longer necessary to call wxDDEInitialize or wxDDECleanUp, since -wxWidgets will do this by itself if necessary. -