'attributes:
data:
notifies - pending notifies
msgs     - pending msgs
buddys   - number of online buddys'

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

    Response.__init__(self, cmd, restag, rescode, resstr, datalines)
    self.codestr = u'NOTIFICATION'
    self.codehead = ()
    self.coderep = ()
    buddy = cmd.parameters[u'buddy']
    buddy = int((((buddy is not None) and buddy) or u'0'))
    if buddy:
        self.codetail = (u'notifies', u'msgs', u'buddys')
    else:
        self.codetail = (u'notifies', u'msgs')
