public function setRemoteEndpoint(Endpoint $remoteEndpoint): void
    {
        $this->recorder->setRemoteEndpoint($this->traceContext, $remoteEndpoint);
    }
public function setRemoteEndpoint(Endpoint $remoteEndpoint): void
    {
        $this->recorder->setRemoteEndpoint($this->traceContext, $remoteEndpoint);
    }
public function setRemoteEndpoint ( Endpoint $ remoteEndpoint ) : void { $ this -> recorder -> setRemoteEndpoint ( $ this -> traceContext , $ remoteEndpoint ) ; }
For a client span, this would be the server's address.

It is often expensive to derive a remote address: always check {@link #isNoop()} first!

@param Endpoint $remoteEndpoint
@return void
For a client span this would be the server s address .