def _send_frame(self, connection, frame):
assert connection is not None<EOL>assert frame is not None<EOL>self.log.debug("<STR_LIT>" %<EOL>(frame, connection))<EOL>if connection.reliable_subscriber:<EOL><INDENT>if connection in self._pending:<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>self.log.debug(<EOL>"<STR_LIT>" % (frame, connection))<EOL>self._pending[connection] = frame<EOL><DEDENT>connection.send_frame(frame)<EOL>
Sends a frame to a specific subscriber connection.

(This method assumes it is being called from within a lock-guarded public
method.)

@param connection: The subscriber connection object to send to.
@type connection: L{coilmq.server.StompConnection}

@param frame: The frame to send.
@type frame: L{stompclient.frame.Frame}