original_string: public function send(Message $message)
      {
          /* @var AppleMessage $message */
          $buildMessage = $this->buildMessage($message);
          $this->streamSocket->connect();
          $bytesSend = $this->streamSocket->write($buildMessage);
          if (strlen($buildMessage) !== $bytesSend) {
              $this->streamSocket->disconnect();
              throw new ConnectionExceptionImpl();
          }
          usleep(self::SEND_INTERVAL);
      }
code: public function send(Message $message)
      {
          /* @var AppleMessage $message */
          $buildMessage = $this->buildMessage($message);
          $this->streamSocket->connect();
          $bytesSend = $this->streamSocket->write($buildMessage);
          if (strlen($buildMessage) !== $bytesSend) {
              $this->streamSocket->disconnect();
              throw new ConnectionExceptionImpl();
          }
          usleep(self::SEND_INTERVAL);
      }
code_tokens: public function send ( Message $ message ) { /* @var AppleMessage $message */ $ buildMessage = $ this -> buildMessage ( $ message ) ; $ this -> streamSocket -> connect ( ) ; $ bytesSend = $ this -> streamSocket -> write ( $ buildMessage ) ; if ( strlen ( $ buildMessage ) !== $ bytesSend ) { $ this -> streamSocket -> disconnect ( ) ; throw new ConnectionExceptionImpl ( ) ; } usleep ( self :: SEND_INTERVAL ) ; }
docstring: Send a message without waiting on response.
  
  @param Message $message
  
  @throws ConnectionException
  @throws ConnectionHandlerException
docstring_tokens: Send a message without waiting on response .