Skip to content
Back to top
View this page

# CommitDatabaseServer

class dsviper.CommitDatabaseServer(database_path, socket, logging, cancelation)

  Bases: `object`

  A CommitDatabaseServer provide network access to a CommitDatabase.

  finish() → None

    block until all client thread handle the cancelation request.

  start() → None

    Open a database.

  step(timeout_in_sec: int = 1) → bool

    accept new connection in a non blocking way.