'Process an inbound frame from the socket.
:param frame_value: The frame to process
:type frame_value: pika.frame.Frame | pika.frame.Method'

def _process_frame(self, frame_value):

    if (frame_value.frame_type < 0):
        return
    self.frames_received += 1
    if self._process_callbacks(frame_value):
        return
    if isinstance(frame_value, frame.Heartbeat):
        if self.heartbeat:
            self.heartbeat.received()
        else:
            LOGGER.warning('Received    heartbeat    frame    without    a    heartbeat    checker')
    elif (frame_value.channel_number > 0):
        self._deliver_frame_to_channel(frame_value)
