public function send(Message $message)
    {
        try {
            return $this->transport->send($message);
        } catch (\Exception $e) {
            $this->lastError = $e;
            return 0;
        }
    }
public function send(Message $message)
    {
        try {
            return $this->transport->send($message);
        } catch (\Exception $e) {
            $this->lastError = $e;
            return 0;
        }
    }
public function send ( Message $ message ) { try { return $ this -> transport -> send ( $ message ) ; } catch ( \ Exception $ e ) { $ this -> lastError = $ e ; return 0 ; } }
Sends a Message over this transport.

@param Message $message

@return int the number of bytes sent
Sends a Message over this transport .