U
    
W[  ã                   @   sˆ   d dl mZ d dlmZ d dlmZ d dlmZ eddddƒZed	d
ddƒZ	eeej
ƒG dd„ deƒƒZeeej
ƒG dd„ deƒƒZdS )é    )Úprovider)ÚIPlugin)ÚServiceMaker)ÚiwordszNew Twisted Wordsztwisted.words.tapzA modern words serverZwordszXMPP Routerztwisted.words.xmpproutertapzAn XMPP Router serverzxmpp-routerc                   @   s    e Zd ZdZdd„ ZeeƒZdS )ÚRelayChatInterfaceZircc                 C   s   ddl m} | ||¡S )Nr   )Úservice)Útwisted.wordsr   Z
IRCFactory)ÚclsÚrealmÚportalr   © r   ú?/usr/lib/python3/dist-packages/twisted/plugins/twisted_words.pyÚ
getFactory   s    zRelayChatInterface.getFactoryN©Ú__name__Ú
__module__Ú__qualname__Únamer   Úclassmethodr   r   r   r   r      s   r   c                   @   s    e Zd ZdZdd„ ZeeƒZdS )ÚPBChatInterfaceÚpbc                 C   s   ddl m} | |d¡S )Nr   )r   T)Ztwisted.spreadr   ZPBServerFactory)r	   r
   r   r   r   r   r   r   +   s    zPBChatInterface.getFactoryNr   r   r   r   r   r   &   s   r   N)Zzope.interfacer   Ztwisted.pluginr   Ztwisted.application.servicer   r   r   ZNewTwistedWordsZTwistedXMPPRouterZIProtocolPluginÚobjectr   r   r   r   r   r   Ú<module>   s&   üü

