Receive does not need access to Key
This commit is contained in:
parent
db7b24086f
commit
2dcfb07ba1
|
@ -53,7 +53,7 @@ class Boss(object):
|
|||
self._S.wire(self._M)
|
||||
self._O.wire(self._K, self._R)
|
||||
self._K.wire(self, self._M, self._R)
|
||||
self._R.wire(self, self._K, self._S)
|
||||
self._R.wire(self, self._S)
|
||||
self._RC.wire(self, self._N, self._M, self._C, self._NL, self._T)
|
||||
self._NL.wire(self._RC, self._C)
|
||||
self._C.wire(self, self._RC, self._NL)
|
||||
|
|
|
@ -18,9 +18,8 @@ class Receive(object):
|
|||
def __attrs_post_init__(self):
|
||||
self._key = None
|
||||
|
||||
def wire(self, boss, key, send):
|
||||
def wire(self, boss, send):
|
||||
self._B = _interfaces.IBoss(boss)
|
||||
self._K = _interfaces.IKey(key)
|
||||
self._S = _interfaces.ISend(send)
|
||||
|
||||
@m.state(initial=True)
|
||||
|
|
Loading…
Reference in New Issue
Block a user