예제 #1
0
파일: utils.py 프로젝트: simudream/PyRadius
 def __init__(self,
              code=AccountingRequest,
              id=None,
              secret=six.b(''),
              authenticator=None,
              **attributes):
     AcctPacket.__init__(self, code, id, secret, authenticator,
                         **attributes)
예제 #2
0
 def __init__(self, code=AccountingRequest, id=None, secret=six.b(''),
         authenticator=None, **attributes):
     AcctPacket.__init__(self, code, id, secret, authenticator, **attributes)
     self.deferred = Deferred()
     self.source_user = None
     self.vendor_id = 0
     self.client_macaddr = None
     self.ticket = {}
     self.created = datetime.datetime.now()
예제 #3
0
파일: utils.py 프로젝트: jamiesun/PyRadius
 def __init__(self, code=AccountingRequest, id=None, secret=six.b(''),
         authenticator=None, **attributes):
     AcctPacket.__init__(self, code, id, secret, authenticator, **attributes)