'attributes:
start   - mylist entry number of first buddy on this packet
end     - mylist entry number of last buddy on this packet
total   - total number of buddies on mylist
data:
uid     - uid
state   - online state'

def __init__(self, cmd, restag, rescode, resstr, datalines):

    Response.__init__(self, cmd, restag, rescode, resstr, datalines)
    self.codestr = u'BUDDY_STATE'
    self.codehead = (u'start', u'end', u'total')
    self.codetail = (u'uid', u'state')
    self.coderep = ()
