Ñò 9nÛLc@sFdZdZddklZddklZdefd„ƒYZdS(tServertreStructuredTextiÿÿÿÿ(t_Server(t ConnectioncBsqeZdZeddd„Zd„Zd„Zd„Zd„Z e e i ƒZ e e iƒZe e iƒZRS(s%An opaque object representing a server that listens for connections from other applications. This class is not useful to instantiate directly: you must subclass it and either extend the method connection_added, or append to the list on_connection_added. :Since: 0.83 cCs"tt|ƒi|||||ƒS(s Construct a new Server. :Parameters: `address` : str Listen on this address. `connection_class` : type When new connections come in, instantiate this subclass of dbus.connection.Connection to represent them. The default is Connection. `mainloop` : dbus.mainloop.NativeMainLoop or None The main loop with which to associate the new connections. `auth_mechanisms` : sequence of str Authentication mechanisms to allow. The default is to allow any authentication mechanism supported by ``libdbus``. (tsuperRt__new__(tclstaddresstconnection_classtmainlooptauth_mechanisms((s//usr/lib/python2.6/site-packages/dbus/server.pyR)scOsh|_g|_g|_dS(N(t_Server__connectionston_connection_addedton_connection_removed(tselftargstkwargs((s//usr/lib/python2.6/site-packages/dbus/server.pyt__init__=s   cCs!|i|iƒ|i|ƒdS(N(tcall_on_disconnectiontconnection_removedtconnection_added(Rtconn((s//usr/lib/python2.6/site-packages/dbus/server.pyt_on_new_connectionLscCs0|io"x|iD]}||ƒqWndS(s´Respond to the creation of a new Connection. This base-class implementation just invokes the callbacks in the on_connection_added attribute. :Parameters: `conn` : dbus.connection.Connection A D-Bus connection which has just been added. The type of this parameter is whatever was passed to the Server constructor as the ``connection_class``. N(R (RRtcb((s//usr/lib/python2.6/site-packages/dbus/server.pyRPs  cCs0|io"x|iD]}||ƒqWndS(sÀRespond to the disconnection of a Connection. This base-class implementation just invokes the callbacks in the on_connection_removed attribute. :Parameters: `conn` : dbus.connection.Connection A D-Bus connection which has just become disconnected. The type of this parameter is whatever was passed to the Server constructor as the ``connection_class``. N(R (RRR((s//usr/lib/python2.6/site-packages/dbus/server.pyRas  N(t__name__t __module__t__doc__RtNoneRRRRRtpropertyRt get_addressRtget_idtidtget_is_connectedt is_connected(((s//usr/lib/python2.6/site-packages/dbus/server.pyRs     N(sServer(t__all__t __docformat__t_dbus_bindingsRtdbus.connectionRR(((s//usr/lib/python2.6/site-packages/dbus/server.pyts