Package groupthink :: Module groupthink_base
[hide private]
[frames] | no frames]

Module groupthink_base

source code

the core functionality of Groupthink. Note that the contents of the groupthink_base submodule are available directly from the groupthink module. There is no need to refer to groupthink.groupthink_base from application code.

Classes [hide private]
  Group
A Group is a simple tool for organizing DObjects.
  TubeBox
A TubeBox is a box that either contains a Tube or does not.
  TimeHandler
A TimeHandler provides a universal clock for a sharing instance.
  UnorderedHandler
The UnorderedHandler serves as the interface between a local UnorderedObject (a pure python entity) and the d-bus/network system.
  HandlerAcceptor
A HandlerAcceptor is an abstract base class for objects that can accept a Handler.
  UnorderedHandlerAcceptor
An UnorderedHandlerAcceptor is a HandlerAcceptor that accepts an UnorderedHandler.
  UnorderedObject
The most basic DObject is the Unordered Object (UO).
  HighScore
A HighScore is the simplest nontrivial UnorderedObject.
  Latest
Latest is a variation on HighScore, in which the score is the current timestamp.
  Recentest
Recentest is like Latest, but without using a clock or TimeHandler.
  AddOnlySet
The AddOnlySet is the archetypal UnorderedObject.
  AddOnlySortedSet
AddOnlySortedSet is much like AddOnlySet, only backed by a ListSet, which provides a set for objects that are ordered under cmp().
  CausalHandler
The CausalHandler is analogous to the UnorderedHandler, in that it presents an interface with which to build a wide variety of objects with distributed state.
  CausalHandlerAcceptor
HandlerAcceptor for CausalHandlers.
  CausalObject
A CausalObject is almost precisely like an UnorderedObject, except that whereas an UnorderedObject is completely specified by a set of messages, a CausalObject is completely specified by an ordered list of messages, sorted according to an opaque index associated with each message.
  CausalDict
CausalDict is a distributed version of a Dict (hash table).
  UserDict
UserDict is UNTESTED and almost certainly DOES NOT WORK.
  UnorderedString
UnorderedString represents a shared editable string-like object, backed by a SimpleStringTree.
  CausalTree
CausalTree is UNTESTED and almost certainly DOES NOT WORK.
Functions [hide private]
 
PassFunction(*args, **kargs) source code
 
ReturnFunction(x) source code
 
empty_translator(x, pack)
A null function, to be used when the API requires a translator, but the user prefers to leave all translation to dbus-python's introspection capabilities.
source code
 
float_translator(f, pack)
This translator packs and unpacks floats for dbus serialization
source code
 
uint_translator(f, pack)
This translator packs and unpacks 64-bit uints for dbus serialization
source code
 
int_translator(f, pack)
This translator packs and unpacks 32-bit ints for dbus serialization
source code
 
string_translator(s, pack)
This translator packs and unpacks unicode strings for dbus serialization
source code
 
bool_translator(s, pack) source code