Changeset 39:44eda5bbbdfb in xplra for misc


Ignore:
Timestamp:
02/14/13 16:09:27 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Implemented a plugin reload command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/client.py

    r38 r39  
    429429        self._writeString(message)
    430430        self._writeFloat(duration)
     431        self._flush()
     432
     433        result = self._readU8()
     434        if result!=0:
     435            print >> sys.stderr, "Error code:", result
     436
     437    def do_reload(self, args):
     438        self._writeU8(0x32)
    431439        self._flush()
    432440
Note: See TracChangeset for help on using the changeset viewer.