code: public RemoteCommand getRemoteCommand(Jid jid, String node) {
          return new RemoteCommand(connection(), node, jid);
      }
docs: Returns a command that represents an instance of a command in a remote
  host. It is used to execute remote commands. The concept is similar to
  RMI. Every invocation on this command is equivalent to an invocation in
  the remote command.
  
  @param jid the full JID of the host of the remote command
  @param node the identifier of the command
  @return a local instance equivalent to the remote command.