def open(self):
        '''
        Open the channel for communication.
        '''
        args = Writer()
        args.write_shortstr('')
        self.send_frame(MethodFrame(self.channel_id, 20, 10, args))
        self.channel.add_synchronous_cb(self._recv_open_ok)
def open ( self ) : args = Writer ( ) args . write_shortstr ( '' ) self . send_frame ( MethodFrame ( self . channel_id , 20 , 10 , args ) ) self . channel . add_synchronous_cb ( self . _recv_open_ok )
Open the channel for communication.