'Determine the best poller to use for this enviroment.'

@staticmethod
def _get_poller():

    poller = None
    if hasattr(select, 'epoll'):
        if ((not SELECT_TYPE) or (SELECT_TYPE == 'epoll')):
            LOGGER.debug('Using    EPollPoller')
            poller = EPollPoller()
    if ((not poller) and hasattr(select, 'kqueue')):
        if ((not SELECT_TYPE) or (SELECT_TYPE == 'kqueue')):
            LOGGER.debug('Using    KQueuePoller')
            poller = KQueuePoller()
    if ((not poller) and hasattr(select, 'poll') and hasattr(select.poll(), 'modify')):
        if ((not SELECT_TYPE) or (SELECT_TYPE == 'poll')):
            LOGGER.debug('Using    PollPoller')
            poller = PollPoller()
    if (not poller):
        LOGGER.debug('Using    SelectPoller')
        poller = SelectPoller()
    return poller
