]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/ddeservr.tex
Overwrote(!!) with source files that compile and link with latest wxGTK.
[wxWidgets.git] / docs / latex / wx / ddeservr.tex
CommitLineData
a660d684
KB
1\section{\class{wxDDEServer}}\label{wxddeserver}
2
3A wxDDEServer object represents the server part of a client-server DDE
4(Dynamic Data Exchange) conversation (available under both Windows
5and UNIX).
6
7\wxheading{Derived from}
8
9wxDDEObject
10
11\wxheading{See also}
12
13\helpref{IPC overview}{ipcoverview}
14
15\latexignore{\rtfignore{\wxheading{Members}}}
16
17\membersection{wxDDEServer::wxDDEServer}
18
19\func{}{wxDDEServer}{\void}
20
21Constructs a server object.
22
23\membersection{wxDDEServer::Create}
24
25\func{bool}{Create}{\param{const wxString\& }{service}}
26
27Registers the server using the given service name. Under UNIX, the
28string must contain an integer id which is used as an Internet port
29number. FALSE is returned if the call failed (for example, the port
30number is already in use).
31
32\membersection{wxDDEServer::OnAcceptConnection}\label{wxddeserveronacceptconnection}
33
34\func{wxDDEConnection *}{OnAcceptConnection}{\param{const wxString\& }{topic}}
35
36When a client calls {\bf MakeConnection}, the server receives the
37message and this member is called. The application should derive a
38member to intercept this message and return a connection object of
39either the standard wxDDEConnection type, or of a user-derived type. If the
40topic is ``STDIO'', the application may wish to refuse the connection.
41Under UNIX, when a server is created the OnAcceptConnection message is
42always sent for standard input and output, but in the context of DDE
43messages it doesn't make a lot of sense.
44
45