__version__ = '0.1.2'
__all__ = ['communicator',
           'hardware',
           'interfaces',
           'packet',
           'server',
           'utilities']

def engage():
    ''' Fire thrusters.
    '''
    from ironman.server import IPBusServerProtocol
    from twisted.internet import reactor
    from twisted.internet.defer import Deferred
    reactor.listenUDP(8888, IPBusServerProtocol(Deferred))
    reactor.run()

__version__ = '0.1.2'
__all__ = ['communicator',
           'hardware',
           'interfaces',
           'packet',
           'server',
           'utilities']

def engage(proto='udp'):
    ''' Fire thrusters.
    '''
    from ironman.server import ServerFactory
    from twisted.internet import reactor
    from twisted.internet.defer import Deferred
    getattr(reactor, 'listen{0:s}'.format(proto.upper()))(8888, ServerFactory(proto, Deferred))
    reactor.run()

update engage() to use the serverfactory