lp:~scymtym/rudel/networking

Created by Jan Moringen on 2010-07-18 and last modified on 2010-07-18
Get this branch:
bzr branch lp:~scymtym/rudel/networking
Only Jan Moringen can upload to this branch. If you are Jan Moringen please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Jan Moringen
Project:
rudel
Status:
Development

Recent revisions

526. By Jan Moringen on 2010-06-15

Use classes from rudel-connections.el in infinote backend
* infinote/rudel-infinote.el (rudel-infinote-backend::rudel-connect):
  changed name of instantiated class
  `rudel-infinote-client-connection' ->
  `rudel-infinote-client->server-connection'
* infinote/rudel-infinote-state.el (rudel-infinote-state::connection):
  changed type `rudel-infinote-client-connection' ->
  `rudel-infinote-client->server-connection'
* infinote/rudel-infinote-client.el (require rudel-connections): new
  require; superclass of `rudel-infinote-client->server-connection'
  (rudel-infinote-client->server-connection): added superclass
  `rudel-client->server-connection'
  (rudel-infinote-client->server-connection::initialize-instance):
  (rudel-infinote-client->server-connection::rudel-get-group):
  (rudel-infinote-client->server-connection::rudel-remove-group):
  (rudel-infinote-client->server-connection::rudel-find-node):
  (rudel-infinote-client->server-connection::rudel-add-node):
  (rudel-infinote-client->server-connection::rudel-send):
  (rudel-infinote-client->server-connection::rudel-disconnect):
  (rudel-infinote-client->server-connection::rudel-subscribe-to):
  (rudel-infinote-client->server-connection::rudel-unsubscribe-from):
  (rudel-infinote-client->server-connection::rudel-subscribe-session):
  (rudel-infinote-client->server-connection::rudel-local-insert):
  (rudel-infinote-client->server-connection::rudel-local-delete):
  (rudel-infinote-client->server-connection::rudel-local-operation):
  (rudel-infinote-client->server-connection::rudel-remote-operation):
  renamed class `rudel-infinote-client-connection' ->
  `rudel-infinote-client->server-connection'

525. By Jan Moringen on 2010-06-15

Added new unit test and some docstrings in rudel-connections.el
* rudel-connections.el (rudel-connection): made abstract
  (rudel-client->server-connection): made abstract
  (rudel-connections-test-listener): new class; used in unit tests
  (rudel-connections-test-server->client-connection): added
  documentation string
  (rudel-connections-test-server): added documentation string
  (rudel-connections-test-server::rudel-make-client): new method;
  created a test connection object
  (rudel-connections-test-server-add-listener): new test; check
  `rudel-server::rudel-add-listener' method
  (rudel-connections-test-server-object-print): test `object-print'
  with added listener and client

524. By Jan Moringen on 2010-06-15

Added a test case for rudel-server to rudel-connections.el
* rudel-connections.el
  (rudel-connections-test-server->client-connection): new class; work
  around abstractness of `rudel-server->client-connection' for tests
  (rudel-connections-test-server): new class; work around abstractness
  of `rudel-server' for tests
  (rudel-connections-test-server-object-print): new test; test for
  `object-print' method of `rudel-server'

523. By Jan Moringen on 2010-06-15

Use classes from rudel-connections.el in obby/rudel-obby-server.el
* obby/rudel-obby.el (header): bumped version to 0.4 in history
  section
  (rudel-obby-backend::rudel-host): use `rudel-add-listener' instead
  of passing the listener to the constructor
* obby/rudel-obby-server.el (header): bumped version to 0.4 in history
  section
  (require rudel-connections): new require; required since client
  connections and server now use base classes from there
  (rudel-obby-server->client-connection):
  (rudel-obby-server->client-connection::initialize-instance):
  (rudel-obby-server->client-connection::rudel-register-state):
  (rudel-obby-server->client-connection::rudel-end):
  (rudel-obby-server->client-connection::rudel-close):
  (rudel-obby-server->client-connection::rudel-send):
  (rudel-obby-server->client-connection::rudel-broadcast):
  (rudel-obby-server->client-connection::rudel-remote-operation):
  (rudel-obby-server->client-connection::rudel-subscribed-clients-not-self):
  renamed class `rudel-obby-client' ->
  `rudel-obby-server->client-connection'
  (rudel-obby-server): added superclass `rudel-server' which handles
  the listener list and the client list
  (rudel-obby-server::initialize-instance): do not setup anything
  regarding the listener; the super class does this
  (rudel-obby-server::rudel-broadcast): changed references to type
  `rudel-obby-server->client-connection'
  (rudel-obby-server::rudel-add-client): removed; the superclass
  handles this
  (rudel-obby-server::rudel-remove-client): delegate actual client
  list manipulation to superclass
  (rudel-obby-server::object-print): removed; the superclass handles
  this

522. By Jan Moringen on 2010-06-15

Added client-server communication in rudel-connections.el
* rudel-connections.el: new file; contains classes for client-server
  communication
* Project.ede (target rudel): added rudel-connections.el

521. By Jan Moringen on 2010-05-25

Warn if document does not exist when handling obby_document msg
* obby/rudel-obby-server.el (require warnings): new require; used to
  display warning messages
  (rudel-obby-server-state-idle::rudel-obby/obby_document): check
  whether the document does exist; display a warning if it does not

520. By Jan Moringen on 2010-05-25

Pass new session to session initiation in rudel-host-session
* rudel.el (rudel-host-session): call
  rudel-session-initiation-advertise when the new session object has
  been constructed

519. By Jan Moringen on 2010-05-24

Cosmetic changes and doc improvements in obby/rudel-obby-client.el
* obby/rudel-obby-client.el
  (rudel-obby-client-state-session-synching::rudel-obby/net6_client_join):
  improved comment; cosmetic changes
  (rudel-obby/obby_document/sync_chunk): improved documentation
  string; changed let* -> let; use zerop instead of = ... 0; added a
  comment
  (rudel-obby-connection::rudel-publish): added a documentation string

518. By Jan Moringen on 2010-05-24

Removed &rest from slots arg of init-inst of rudel-obby-connection
* obby/rudel-obby-client.el
  (rudel-obby-connection::initialize-instance): removed &rest from
  slots argument

517. By Jan Moringen on 2010-05-24

Minor fixes and improvements in obby/rudel-obby-client.el
* obby/rudel-obby-client.el
  (rudel-obby-client-state-idle::rudel-obby/net6_client_join): use
  test = when locating user; improved comment
  (rudel-obby-client-state-idle::rudel-obby/obby_document_create):
  added TODO item regarding not displaying messages from the backend
  (rudel-obby-client-state-idle::rudel-obby/obby_document/rename):
  improved documentation string
  (rudel-obby-client-state-session-synching): reflowed documentation
  strings of slots
  (rudel-obby-client-state-subscribing::rudel-obby/obby_document/sync_init):
  fixed name of document slot

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:rudel
This branch contains Public information 
Everyone can see this information.

Subscribers