/usr/share/GNUstep/Documentation/Developer/DBusKit/Reference/DKPort.gsdoc is in libdbuskit-dev 0.1.1-2+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | <?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.4//EN" "http://www.gnustep.org/gsdoc-1_0_4.dtd">
<gsdoc base="DKPort">
<head>
<title>DKPort class documentation</title>
<author name="Niels Grewe">
<email address="niels.grewe@halbordnung.de">
niels.grewe@halbordnung.de
</email>
</author>
<copy>2010 Free Software Foundation, Inc.</copy>
</head>
<body>
<front><contents /></front>
<chapter>
<heading>
Software documentation for the DKPort class
</heading>
<class name="DKPort" super="NSPort">
<declared>DBusKit/DKPort.h</declared>
<desc>
DKPort is used by the Distributed Objects system to
communicate with D-Bus. Unless you have special
needs, don't create DKPort instances yourself, but use
the interfaces provided by NSConnection instead. The
default <ref type="method" id="+port">+port</ref>
message will return a port connected to the session
bus.
</desc>
<method type="void" factory="yes">
<sel>enableWorkerThread</sel>
<desc>
This method should be called by an application that
wants to make use of the multithreaded features of
DBusKit. After this method has been called, it is
no longer safe to call into DBusKit from
<ref type="method" id="+initialize">
+initialize
</ref>
methods, which might result in deadlock from the
Objective-C runtime.
</desc>
</method>
<method type="id" factory="yes">
<sel>portForBusType:</sel>
<arg type="DKDBusBusType">type</arg>
<desc>
Returns a port to the specified message bus without
any specified remote side.
</desc>
</method>
<method type="id" factory="yes">
<sel>sessionBusPort</sel>
<desc>
Returns a port to the session message bus.
</desc>
</method>
<method type="id" factory="yes">
<sel>systemBusPort</sel>
<desc>
Returns a port to the system message bus.
</desc>
</method>
<method type="id">
<sel>initWithRemote:</sel>
<arg type="NSString*">remote</arg>
<desc>
Return a DKPort instance connected to the specified
D-Bus peer on the session message bus.
</desc>
</method>
<method type="id">
<sel>initWithRemote:</sel>
<arg type="NSString*">remote</arg>
<sel>onBus:</sel>
<arg type="DKDBusBusType">bus</arg>
<desc>
Return a DKPort instance connected to the specified
D-Bus peer on the specified message <var>bus</var>.
</desc>
</method>
</class>
</chapter>
</body>
</gsdoc>
|