name cleanup
This commit is contained in:
parent
80661392b6
commit
3101ca51db
|
@ -26,7 +26,7 @@ class Code(object):
|
||||||
def wire(self, wormhole, rendezvous_connector, nameplate_lister):
|
def wire(self, wormhole, rendezvous_connector, nameplate_lister):
|
||||||
self._W = _interfaces.IWormhole(wormhole)
|
self._W = _interfaces.IWormhole(wormhole)
|
||||||
self._RC = _interfaces.IRendezvousConnector(rendezvous_connector)
|
self._RC = _interfaces.IRendezvousConnector(rendezvous_connector)
|
||||||
self._NL = _interfaces.INameplateListing(nameplate_lister)
|
self._NL = _interfaces.INameplateLister(nameplate_lister)
|
||||||
|
|
||||||
@m.state(initial=True)
|
@m.state(initial=True)
|
||||||
def S0_unknown(self): pass
|
def S0_unknown(self): pass
|
||||||
|
|
|
@ -14,7 +14,7 @@ class IReceive(Interface):
|
||||||
pass
|
pass
|
||||||
class IRendezvousConnector(Interface):
|
class IRendezvousConnector(Interface):
|
||||||
pass
|
pass
|
||||||
class INameplateListing(Interface):
|
class INameplateLister(Interface):
|
||||||
pass
|
pass
|
||||||
class ICode(Interface):
|
class ICode(Interface):
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -2,7 +2,7 @@ from zope.interface import implementer
|
||||||
from automat import MethodicalMachine
|
from automat import MethodicalMachine
|
||||||
from . import _interfaces
|
from . import _interfaces
|
||||||
|
|
||||||
@implementer(_interfaces.INameplateListing)
|
@implementer(_interfaces.INameplateLister)
|
||||||
class NameplateListing(object):
|
class NameplateListing(object):
|
||||||
m = MethodicalMachine()
|
m = MethodicalMachine()
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
|
@ -11,7 +11,7 @@ class RendezvousConnector(service.MultiService, object):
|
||||||
def wire(self, mailbox, code, nameplate_lister):
|
def wire(self, mailbox, code, nameplate_lister):
|
||||||
self._M = _interfaces.IMailbox(mailbox)
|
self._M = _interfaces.IMailbox(mailbox)
|
||||||
self._C = _interfaces.ICode(code)
|
self._C = _interfaces.ICode(code)
|
||||||
self._NL = _interfaces.INameplateListing(nameplate_lister)
|
self._NL = _interfaces.INameplateLister(nameplate_lister)
|
||||||
|
|
||||||
|
|
||||||
# from Mailbox
|
# from Mailbox
|
||||||
|
|
Loading…
Reference in New Issue
Block a user