viff

changeset 730:1e9b0d1ad897

Moved documentation of ShareExchanger.incoming_data.
author Martin Geisler <mg@daimi.au.dk>
date Thu, 24 Apr 2008 14:45:39 +0200
parents cade54734d47
children e5c8d22434d4
files doc/runtime.txt viff/runtime.py
diffstat 2 files changed, 7 insertions(+), 5 deletions(-) [+]
line diff
     1.1 --- a/doc/runtime.txt	Thu Apr 24 14:40:09 2008 +0200
     1.2 +++ b/doc/runtime.txt	Thu Apr 24 14:45:39 2008 +0200
     1.3 @@ -14,6 +14,13 @@
     1.4     .. autoclass:: viff.runtime.ShareExchanger
     1.5        :members: sendShare, sendData, loseConnection
     1.6  
     1.7 +      .. attribute:: ShareExchanger.incoming_data
     1.8 +
     1.9 +         Data from our peer is put here, either as an empty
    1.10 +         :class:`Deferred` if we are waiting on input from the player,
    1.11 +         or the data itself if data is received from the other player
    1.12 +         before we are ready to use it.
    1.13 +
    1.14     .. autofunction:: viff.runtime.increment_pc
    1.15  
    1.16     .. autofunction:: viff.runtime.create_runtime
     2.1 --- a/viff/runtime.py	Thu Apr 24 14:40:09 2008 +0200
     2.2 +++ b/viff/runtime.py	Thu Apr 24 14:45:39 2008 +0200
     2.3 @@ -254,11 +254,6 @@
     2.4          self.peer_id = None
     2.5  
     2.6          #: Data expected to be received in the future.
     2.7 -        #:
     2.8 -        #: Data from our peer is put here, either as an empty Deferred
     2.9 -        #: if we are waiting on input from the player, or the data
    2.10 -        #: itself if data is received from the other player before we
    2.11 -        #: are ready to use it.
    2.12          self.incoming_data = {}
    2.13  
    2.14      def connectionMade(self):