<s> __author__ = '<STR_LIT>' <EOL> from six import with_metaclass <EOL> from abc import ABCMeta , abstractmethod , abstractproperty <EOL> class MessageTarget ( object ) : <EOL> def __repr__ ( self ) : <EOL> return type ( self ) . __name__ + "<STR_LIT>" <EOL> class MessageTargetWatch ( MessageTarget ) : <EOL> pass <EOL> class BaseTransport ( with_metaclass ( ABCMeta ) ) : <EOL> @ abstractproperty <EOL> def must_initialise ( self ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> @ abstractproperty <EOL> def connected ( self ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> @ abstractmethod <EOL> def connect ( self ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> @ abstractmethod <EOL> def read_packet ( self ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> @ abstractmethod <EOL> def send_packet ( self , message , target = MessageTargetWatch ( ) ) : <EOL> """<STR_LIT>""" <EOL> pass </s>
