<s> class ChannelBase ( object ) : <EOL> @ property <EOL> def context ( self ) : <EOL> raise NotImplementedError ( ) <EOL> @ property <EOL> def recv_is_supported ( self ) : <EOL> raise NotImplementedError ( ) <EOL> @ property <EOL> def emit_is_supported ( self ) : <EOL> raise NotImplementedError ( ) <EOL> def close ( self ) : <EOL> raise NotImplementedError ( ) <EOL> def new_event ( self , name , args , xheader = None ) : <EOL> raise NotImplementedError ( ) <EOL> def emit_event ( self , event , timeout = None ) : <EOL> raise NotImplementedError ( ) <EOL> def emit ( self , name , args , xheader = None , timeout = None ) : <EOL> event = self . new_event ( name , args , xheader ) <EOL> return self . emit_event ( event , timeout ) <EOL> def recv ( self , timeout = None ) : <EOL> raise NotImplementedError ( ) </s>
