Module: DBus
- Defined in:
- lib/dbus.rb,
lib/dbus/bus.rb,
lib/dbus/auth.rb,
lib/dbus/type.rb,
lib/dbus/export.rb,
lib/dbus/message.rb,
lib/dbus/marshall.rb,
lib/dbus/matchrule.rb,
lib/dbus/introspect.rb
Overview
This file is part of the ruby-dbus project Copyright © 2007 Arnaud Cornet and Paul van Tilburg
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software Foundation. See the file “COPYING” for the exact licensing terms.
Defined Under Namespace
Modules: Type Classes: AuthenticationFailed, Authenticator, Client, Connection, DBusCookieSHA1, Error, External, IncompleteBufferException, Interface, InterfaceElement, InterfaceNotImplemented, InterfaceNotInObject, IntrospectXMLParser, InvalidClassDefinition, InvalidDestinationName, InvalidIntrospectionData, InvalidMethodName, InvalidPacketException, InvalidParameters, InvalidReturnType, Main, MatchRule, MatchRuleException, Message, Method, MethodNotImplemented, MethodNotInInterface, Node, Object, PacketMarshaller, PacketUnmarshaller, ProxyObject, ProxyObjectFactory, ProxyObjectInterface, RemoteBus, Service, SessionBus, Signal, SystemBus, TypeException, UnknownSignal
Constant Summary collapse
- SystemSocketName =
Default socket name for the system bus.
"unix:path=/var/run/dbus/system_bus_socket"
- SessionSocketName =
Socket name for the session bus, not pretty.
ENV["DBUS_SESSION_BUS_ADDRESS"]
- BIG_END =
Byte signifying big endianness.
?B
- LIL_END =
Byte signifying little endianness.
?l
- HOST_END =
Byte signifying the host’s endianness.
if [0x01020304].pack("L").unpack("V")[0] == 0x01020304 LIL_END else BIG_END end
- MethodSignalRE =
Regular expressions that should match all method names.
/^[A-Za-z][A-Za-z0-9_]*$/
- InterfaceElementRE =
Regular expressions that should match all interface names.
/^[A-Za-z][A-Za-z0-9_]*$/
Class Method Summary collapse
- .session_bus ⇒ Object
-
.system_bus ⇒ Object
FIXME: we should get rid of these singeltons.