Esempio n. 1
0
    def __init__(self, *a, **k):
        Super.__init__(self, *a, **k)
        self.members = {}
        self.partner_scenario = 'Initial'

        self.CONNECTED = False
        self.abId = uuid.UUID(int=0)
Esempio n. 2
0
    def __init__(self, *a, **k):
        Super.__init__(self, *a, **k)
        self.members = {}
        self.partner_scenario = "Initial"

        self.CONNECTED = False
        self.abId = uuid.UUID(int=0)
Esempio n. 3
0
 def recv_rng(self, msg):
     log.info('Got a RNG from %s', msg.args[3])
     msg.args = msg.args[:5]
     return Super.recv_rng(self, msg)
Esempio n. 4
0
    def send_blp(self, value):
        assert value in ('AL', 'BL')
        bool = 'AL' == value
        self._set_persist_blp(bool)

        Super.send_blp(self, value)
Esempio n. 5
0
 def recv_rng(self, msg):
     log.info("Got a RNG from %s", msg.args[3])
     msg.args = msg.args[:5]
     return Super.recv_rng(self, msg)
Esempio n. 6
0
    def send_blp(self, value):
        assert value in ("AL", "BL")
        bool = "AL" == value
        self._set_persist_blp(bool)

        Super.send_blp(self, value)